diff --git a/lib/apache b/lib/apache index f438407aca..e36d0c998f 100644 --- a/lib/apache +++ b/lib/apache @@ -173,11 +173,7 @@ function restart_apache_server { # Apache can be slow to stop, doing an explicit stop, sleep, start helps # to mitigate issues where apache will claim a port it's listening on is # still in use and fail to start. - time_start "restart_apache_server" - stop_service $APACHE_NAME - sleep 3 - start_service $APACHE_NAME - time_stop "restart_apache_server" + restart_service $APACHE_NAME } # reload_apache_server