Possible reboot speedup

This commit is contained in:
Taylor Helsper 2020-10-29 22:19:07 -05:00
parent 2236b71f0e
commit 9283987445
2 changed files with 7 additions and 19 deletions

View File

@ -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

View File

@ -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