From f8554290a7a6e89a4d3abe62bb9c066a27ccff3e Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Wed, 14 Aug 2024 10:33:55 +0330 Subject: [PATCH] Stop/Disabling Services --- core/scripts/hysteria2/uninstall.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/core/scripts/hysteria2/uninstall.sh b/core/scripts/hysteria2/uninstall.sh index ba5e8df..eab2631 100644 --- a/core/scripts/hysteria2/uninstall.sh +++ b/core/scripts/hysteria2/uninstall.sh @@ -28,10 +28,14 @@ echo "Removing cron jobs..." echo "Removing alias 'hys2' from .bashrc..." sed -i '/alias hys2=.*\/etc\/hysteria\/menu.sh/d' ~/.bashrc -echo "Stopping hysteria-bot.service..." -systemctl stop hysteria-bot.service >/dev/null 2>&1 -echo "Disabling hysteria-bot.service..." -systemctl disable hysteria-bot.service >/dev/null 2>&1 +echo "Stop/Disabling Hysteria TelegramBOT Service..." +systemctl stop hysteria-bot.service > /dev/null 2>&1 +systemctl disable hysteria-bot.service > /dev/null 2>&1 + +echo "Stop/Disabling Singbox SubLink Service..." +systemctl stop singbox.service > /dev/null 2>&1 +systemctl disable singbox.service > /dev/null 2>&1 + echo "Hysteria2 uninstalled!" echo ""