mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 12:36:27 +02:00
reboot after copy blockchain
This commit is contained in:
@@ -284,16 +284,17 @@ if [ "$1" = "target" ]; then
|
|||||||
sleep 2
|
sleep 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "restarting services ... (please wait)"
|
|
||||||
sudo systemctl enable bitcoind
|
|
||||||
sudo systemctl start bitcoind
|
|
||||||
sudo systemctl start lnd 2>/dev/null
|
|
||||||
sudo systemctl start lightningd 2>/dev/null
|
|
||||||
sleep 10
|
|
||||||
|
|
||||||
# setting copy state
|
# setting copy state
|
||||||
/home/admin/_cache.sh set state "ready"
|
/home/admin/_cache.sh set state "ready"
|
||||||
/home/admin/_cache.sh set message "Node Running"
|
/home/admin/_cache.sh set message "Node Running"
|
||||||
|
|
||||||
|
echo "restarting services ... (please wait)"
|
||||||
|
sudo systemctl enable bitcoind
|
||||||
|
|
||||||
|
echo "rebooting"
|
||||||
|
/home/admin/config.scripts/blitz.shutdown.sh reboot
|
||||||
|
exit
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
###################
|
###################
|
||||||
|
Reference in New Issue
Block a user