From 97676c4ac4b59b2332cd584d05b541548cabcde0 Mon Sep 17 00:00:00 2001 From: PiepMatz Date: Thu, 8 Feb 2024 10:39:11 +0100 Subject: [PATCH] fix: Control: Hotfixing control of service --- restart.cgi | 2 ++ start.cgi | 1 + stop.cgi | 1 + 3 files changed, 4 insertions(+) diff --git a/restart.cgi b/restart.cgi index 65d22e0..f1f5874 100644 --- a/restart.cgi +++ b/restart.cgi @@ -3,6 +3,8 @@ require "./paldmin-lib.pl"; +init_service(); + ReadParse(); error_setup($text{"restart_err"}); my $err = restart_server(); diff --git a/start.cgi b/start.cgi index cce6129..fe12bd5 100644 --- a/start.cgi +++ b/start.cgi @@ -3,6 +3,7 @@ # Start the PalServer daemon require "./paldmin-lib.pl"; +init_service(); ReadParse(); error_setup($text{"start_err"}); diff --git a/stop.cgi b/stop.cgi index ce81346..ae605ac 100644 --- a/stop.cgi +++ b/stop.cgi @@ -3,6 +3,7 @@ # Stop the PalServer daemon require "./paldmin-lib.pl"; +init_service(); ReadParse(); error_setup($text{"stop_err"});