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
@@ -894,6 +894,9 @@
            $app->log("Apache status is: ".$apache_online_status_before_restart,LOGLEVEL_DEBUG);
            $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);