mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-10 21:00:36 +02:00
bitcoid is disabled during blockchain LAN copy
This commit is contained in:
parent
4874d7dd15
commit
b4fa36ce6b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user