mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 21:28:54 +02:00
bitcoid is disabled during blockchain LAN copy
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user