From a70d69254612a57b2fea45ef1b4e1a1ab77becba Mon Sep 17 00:00:00 2001 From: Lloyd Date: Tue, 30 Dec 2025 17:10:53 +0000 Subject: [PATCH] Fix: Reload systemd before starting the service in install and upgrade functions --- manage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manage.sh b/manage.sh index 52a2897..3ac627b 100755 --- a/manage.sh +++ b/manage.sh @@ -265,7 +265,8 @@ install_repeater() { echo "" echo "✓ Python package installation completed successfully!" - # Start the service + # Reload systemd and start the service + systemctl daemon-reload systemctl start "$SERVICE_NAME" else echo "" @@ -401,6 +402,7 @@ upgrade_repeater() { fi echo "[8/9] Starting service..." + systemctl daemon-reload systemctl start "$SERVICE_NAME" echo " ✓ Service started"