bitcoid is disabled during blockchain LAN copy

This commit is contained in:
rootzoll 2021-08-24 18:26:55 +02:00
parent 4874d7dd15
commit b4fa36ce6b

View File

@ -82,6 +82,7 @@ if [ "$1" = "target" ]; then
echo "stopping services ..."
sudo systemctl stop bitcoind <2 /dev/null
sudo systemctl disable bitcoind <2 /dev/null
# check if old blockchain data exists
hasOldBlockchainData=0
@ -276,6 +277,7 @@ if [ "$1" = "target" ]; then
fi
echo "restarting services ... (please wait)"
sudo systemctl enable bitcoind
sudo systemctl start bitcoind
sleep 10