Just use normal restart for apache

We're now in a systemd world where systemd is managing the restart
effectively, there is no reason to be tricksy with apache now that
we're not working around weird upstartd issues.

Change-Id: Ifadfd504eb10a90db5177ea9180b9cd8331a2948
This commit is contained in:
Sean Dague 2017-04-13 09:02:14 -04:00
parent 4da0fa8c13
commit 2b85cf0f06
1 changed files with 1 additions and 5 deletions

View File

@ -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