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:
parent
4da0fa8c13
commit
2b85cf0f06
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue