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"});