Till Brehm
2014-09-24 6061d5f84726eb7f93eceff24de63bb471c9d029
Services were not restarted correctly after install on CentOS 7.
1 files modified
2 ■■■ changed files
install/lib/installer_base.lib.php 2 ●●● 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