From cf312f0c7146bee3d012b204108ae64dda979ce4 Mon Sep 17 00:00:00 2001 From: Thom Date: Sat, 21 Oct 2023 11:28:33 +0200 Subject: [PATCH] Add start and stop as valid systemd actions (#6330) --- server/lib/classes/system.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/classes/system.inc.php b/server/lib/classes/system.inc.php index 6a8b418ffe..b2c6357d8f 100644 --- a/server/lib/classes/system.inc.php +++ b/server/lib/classes/system.inc.php @@ -2073,7 +2073,7 @@ class system{ } */ - if(!in_array($action,array('restart','reload','force-reload'))) { + if(!in_array($action,array('start','stop','restart','reload','force-reload'))) { $app->log('Invalid init command action '.$action,LOGLEVEL_WARN); return false; } -- GitLab