mirror of
https://github.com/ShaYmez/hblink3-docker-install.git
synced 2025-12-22 21:49:50 +13:00
Update restart
Update restart routine
This commit is contained in:
parent
2eccc31198
commit
e0e0e19326
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/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 shutsdown services while services are cleaned and logs are truncated.
|
# 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.
|
# 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
|
# Add to the cron tab for auto execution
|
||||||
|
|
||||||
@ -17,9 +17,11 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
# Update containers / service clean/truncate/ and restart of services..
|
# Restart routine for HBlink3 (ShaYmez docker only)
|
||||||
|
|
||||||
echo Restarting Server.....
|
# Start service clean/truncate/ and restart of services.
|
||||||
|
|
||||||
|
echo Restarting HBlink3.....
|
||||||
cd /etc/hblink3
|
cd /etc/hblink3
|
||||||
sleep 1
|
sleep 1
|
||||||
echo "."
|
echo "."
|
||||||
@ -30,10 +32,10 @@ echo "..."
|
|||||||
docker-compose restart
|
docker-compose restart
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
figlet "OBP Master."
|
figlet "HBlink 3"
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
echo "Checking OBP is composed....."
|
echo "Checking HBlink is composed....."
|
||||||
sleep 1
|
sleep 1
|
||||||
docker ps
|
docker ps
|
||||||
sleep 1
|
sleep 1
|
||||||
@ -47,7 +49,7 @@ echo "Flushing network tracking table....."
|
|||||||
conntrack -F
|
conntrack -F
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
echo "Restarting HBmonitor....."
|
echo "Restarting Dashboard....."
|
||||||
systemctl restart hbmon
|
systemctl restart hbmon
|
||||||
figlet "HBmonitor3"
|
figlet "HBmonitor3"
|
||||||
echo "Done."
|
echo "Done."
|
||||||
@ -59,4 +61,4 @@ sleep 1
|
|||||||
echo ..
|
echo ..
|
||||||
sleep 1
|
sleep 1
|
||||||
echo ...
|
echo ...
|
||||||
echo "OBP MasterServer has been restarted. Proccess is now complete and you may now exit. AKA ShaYmez."
|
echo "HBlink has been restarted. Proccess is now complete and you may now exit. AKA ShaYmez."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user