server/lib/classes/system.inc.php
@@ -1722,7 +1722,7 @@ function getinitcommand($servicename, $action, $init_script_directory = ''){ global $conf; // systemd if(is_executable('/bin/systemd')){ if(is_executable('/bin/systemd') || is_executable('/usr/bin/systemctl')){ return 'systemctl '.$action.' '.$servicename.'.service'; } // upstart