copilot-swe-agent[bot] 204001b1b4 Update email address from support@gb7nr.co.uk to shane@freestar.network in all script files
Co-authored-by: ShaYmez <76499782+ShaYmez@users.noreply.github.com>
2025-12-13 01:51:05 +00:00

53 lines
1.4 KiB
Bash
Executable File

#!/bin/bash
# HBLINK3 DOCKER CONTROL SCRIPTS V2.0
# Version 13122025
# 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
# Copyright (C) 2020-2025 Shane P. Daley M0VUB <shane@freestar.network>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# 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 HBlink3....."
cd /etc/hblink3
sleep 2
echo .
sleep 1
echo ..
sleep 1
echo ...
docker-compose down
echo "Stopping Dashboard....."
systemctl stop hbmon
figlet "HBMonv2"
echo "Done."
sleep 1
echo "Done. Now Exiting....."
sleep 1
echo .
sleep 1
echo ..
sleep 1
echo ...
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!