Marius Cramer
2014-10-10 d7927ad2b4f0c891e1ecb3f3b9bb7b46e2dc2c67
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