mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 15:04:04 +00:00
38 lines
680 B
Bash
Executable File
38 lines
680 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
|
|
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 thunderhub
|
|
|
|
|
|
# Manually stop services (backup)
|
|
/opt/mynode/dojo/docker/my-dojo/dojo.sh stop || true
|
|
|
|
|
|
# Stop core services
|
|
systemctl stop electrs
|
|
systemctl stop loopd
|
|
systemctl stop lnd
|
|
systemctl stop quicksync
|
|
systemctl stop bitcoind
|
|
|
|
sync
|