mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
Possible reboot speedup
This commit is contained in:
parent
2236b71f0e
commit
9283987445
|
@ -503,8 +503,8 @@ systemctl enable check_in || true
|
|||
|
||||
|
||||
# Check for new versions
|
||||
torify wget $LATEST_VERSION_URL -O /usr/share/mynode/latest_version || true
|
||||
torify wget $LATEST_BETA_VERSION_URL -O /usr/share/mynode/latest_beta_version || true
|
||||
torify wget $LATEST_VERSION_URL --timeout=30 -O /usr/share/mynode/latest_version || true
|
||||
torify wget $LATEST_BETA_VERSION_URL --timeout=30 -O /usr/share/mynode/latest_beta_version || true
|
||||
|
||||
# Update current state
|
||||
if [ -f $QUICKSYNC_DIR/.quicksync_complete ]; then
|
||||
|
|
|
@ -8,18 +8,8 @@ touch /tmp/shutting_down
|
|||
|
||||
|
||||
# Stop additional services
|
||||
systemctl stop glances
|
||||
systemctl stop lndhub
|
||||
systemctl stop netdata
|
||||
systemctl stop rtl
|
||||
systemctl stop webssh2
|
||||
systemctl stop whirlpool
|
||||
systemctl stop dojo
|
||||
systemctl stop btcpayserver
|
||||
systemctl stop btc_rpc_explorer
|
||||
systemctl stop specter
|
||||
systemctl stop caravan
|
||||
systemctl stop lnbits
|
||||
systemctl stop glances lndhub netdata rtl webssh2 whirlpool dojo
|
||||
systemctl stop btcpayserver btc_rpc_explorer specter caravan lnbits
|
||||
systemctl stop thunderhub
|
||||
|
||||
|
||||
|
@ -28,10 +18,8 @@ systemctl stop thunderhub
|
|||
|
||||
|
||||
# Stop core services
|
||||
systemctl stop electrs
|
||||
systemctl stop loopd
|
||||
systemctl stop lnd
|
||||
systemctl stop quicksync
|
||||
systemctl stop bitcoind
|
||||
systemctl stop electrs loopd lnd quicksync bitcoind
|
||||
|
||||
|
||||
# Sync filesystem
|
||||
sync
|
||||
|
|
Loading…
Reference in New Issue
Block a user