Update stop

Update the stop routine
This commit is contained in:
M0VUB 2023-01-02 21:25:21 +00:00 committed by GitHub
parent 937065ed9b
commit 5031fb1aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/bin/bash
# OBP-MASTER FORMERLY RYSEN MASTER+ (HBlink3) A FORK OF THE FREEDMR / HBLINK PROJECT
# HBLINK3 DOCKER CONTROL SCRIPTS V1.9
# This script written by Shane Daley M0VUB. The script gracefully shuts down services while services are cleaned and logs are truncated.
# We can also add items in this script for future use like updates or further log trims.
# Add to the cron tab for auto execution
@ -17,11 +17,13 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# Start routine for HBlink3 (ShaYmez docker only)
# Start service(s) / and check logs.
clear
echo "Stopping OBP MasterServer....."
echo "Stopping HBlink3....."
cd /etc/hblink3
sleep 2
echo .
@ -31,9 +33,9 @@ sleep 1
echo ...
docker-compose down
echo "Stopping HBmonitor....."
echo "Stopping Dashboard....."
systemctl stop hbmon
figlet "HBmonitor3"
figlet "HBMonv2"
echo "Done."
sleep 1
@ -44,7 +46,6 @@ sleep 1
echo ..
sleep 1
echo ...
echo "OBP MasterServer is now stopped. AKA ShaYmez."
echo "HBlink3 is now stopped. AKA ShaYmez."
#
# This script has been developed by the one and only ShaYmez. Visit https://repo.radio/ShaYmez for more super scripts!
echo "All systems have been flushed/cleaned and ready to go. Aka Dr. Node. ShaYmez, OBP MasterServer"