2019-12-19 03:45:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-05-09 17:23:47 +00:00
|
|
|
# Message
|
|
|
|
echo "Stopping myNode services..."
|
|
|
|
|
2020-04-23 02:59:37 +00:00
|
|
|
# Mark we are shutting down
|
|
|
|
touch /tmp/shutting_down
|
|
|
|
|
|
|
|
|
2019-12-19 03:45:44 +00:00
|
|
|
# Stop additional services
|
|
|
|
systemctl stop glances
|
|
|
|
systemctl stop lndhub
|
|
|
|
systemctl stop netdata
|
|
|
|
systemctl stop rtl
|
|
|
|
systemctl stop webssh2
|
2019-12-26 05:11:29 +00:00
|
|
|
systemctl stop whirlpool
|
2020-02-28 01:25:33 +00:00
|
|
|
systemctl stop dojo
|
2020-01-15 04:42:48 +00:00
|
|
|
systemctl stop btcpayserver
|
2020-04-23 03:47:50 +00:00
|
|
|
systemctl stop btc_rpc_explorer
|
2020-07-29 01:11:30 +00:00
|
|
|
systemctl stop specter
|
|
|
|
systemctl stop caravan
|
|
|
|
systemctl stop lnbits
|
|
|
|
systemctl stop thunderhub
|
2019-12-19 03:45:44 +00:00
|
|
|
|
2020-02-28 01:25:33 +00:00
|
|
|
|
2020-04-11 19:43:23 +00:00
|
|
|
# Manually stop services (backup)
|
|
|
|
/opt/mynode/dojo/docker/my-dojo/dojo.sh stop || true
|
|
|
|
|
|
|
|
|
2019-12-19 03:45:44 +00:00
|
|
|
# Stop core services
|
|
|
|
systemctl stop electrs
|
2020-05-01 01:44:08 +00:00
|
|
|
systemctl stop loopd
|
2019-12-19 03:45:44 +00:00
|
|
|
systemctl stop lnd
|
|
|
|
systemctl stop quicksync
|
|
|
|
systemctl stop bitcoind
|
|
|
|
|
2020-02-28 01:25:33 +00:00
|
|
|
sync
|