install/lib/installer_base.lib.php | ●●●●● patch | view | raw | blame | history |
install/lib/installer_base.lib.php
@@ -2302,7 +2302,7 @@ public 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