mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 18:02:49 +00:00
26 lines
502 B
Bash
Executable File
26 lines
502 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Message
|
|
echo "Stopping myNode services..."
|
|
|
|
# Mark we are shutting down
|
|
touch /tmp/shutting_down
|
|
|
|
|
|
# Stop additional services
|
|
systemctl stop glances lndhub netdata rtl webssh2 whirlpool dojo
|
|
systemctl stop btcpayserver btc_rpc_explorer specter caravan lnbits
|
|
systemctl stop thunderhub mempoolspace
|
|
|
|
|
|
# Manually stop services (backup)
|
|
/opt/mynode/dojo/docker/my-dojo/dojo.sh stop || true
|
|
|
|
|
|
# Stop core services
|
|
systemctl stop electrs loopd lnd quicksync bitcoind
|
|
|
|
|
|
# Sync filesystem
|
|
sync
|