From b4fa36ce6b6428f96a645734828461efaba5baef Mon Sep 17 00:00:00 2001 From: rootzoll Date: Tue, 24 Aug 2021 18:26:55 +0200 Subject: [PATCH] bitcoid is disabled during blockchain LAN copy --- home.admin/config.scripts/blitz.copychain.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home.admin/config.scripts/blitz.copychain.sh b/home.admin/config.scripts/blitz.copychain.sh index 27a02ca12..f97c6591a 100644 --- a/home.admin/config.scripts/blitz.copychain.sh +++ b/home.admin/config.scripts/blitz.copychain.sh @@ -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