Surprised this one hasn't been asked yet.
But how / what is the recommended best practice for shutting down bitcoind ?
Right now I'm manually killing the process with either sudo kill {pid}
or if this is failing (like just now) using sudo pkill -9 -f bitcoind
bitcoin-cli stop
works in version 11. – Jonathan Cross Sep 17 '15 at 12:42bitcoin-cli
you have to startbitcoind
with optionserver=1
. I did this and stillbitcoin-cli getinfo
is returning an error. So I suspectbitcoin-cli
does not work properly. I have a process intop
that is calledbitcoin-init
. I am not sure if this is the right process that should be active after I startedbitcoind
or if this some sort of initialisation process and since it uses 100% of my Raspberry CPU it might as well hang and this might be the root of the problem. I appreciate any input. – bomben Aug 28 '19 at 10:18sudo bitcoin-cli stop
if that throws an error about RPC credentials – Tamás Sengel Feb 08 '23 at 07:06