tbrehm
2010-11-02 23fb7e9440a69af3d6e2ca88f34cb3242eeb3918
apache_plugin: Wait a few seconds before apache gets tested again after a restart.
1 files modified
3 ■■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 3 ●●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -895,6 +895,9 @@
            $app->services->restartService('httpd','restart');
        
            // wait a few seconds, before we test the apache status again
            sleep(2);
            //* Check if apache restarted successfully if it was online before
            $apache_online_status_after_restart = $this->_checkTcp('localhost',80);
            $app->log("Apache online status after restart is: ".$apache_online_status_after_restart,LOGLEVEL_DEBUG);