Skip to content

Commit cf312f0

Browse files
author
Thom
committed
Add start and stop as valid systemd actions (#6330)
1 parent 3b43519 commit cf312f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/system.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@ function _getinitcommand($servicename, $action, $init_script_directory = '', $ch
20732073
}
20742074
*/
20752075

2076-
if(!in_array($action,array('restart','reload','force-reload'))) {
2076+
if(!in_array($action,array('start','stop','restart','reload','force-reload'))) {
20772077
$app->log('Invalid init command action '.$action,LOGLEVEL_WARN);
20782078
return false;
20792079
}

0 commit comments

Comments
 (0)