Change apache service to restart

After fixing the apache service issue with Ubuntu14.04, restart
command should work better that manual stop/start. While stopping
and starting a service using scripts, it can sometimes be too fast
to give time to the service to respond properly and cause error
status and more races.

Change-Id: I84b2271f07a10ce1a29403312736272221895c35
This commit is contained in:
Pranav Salunke 2015-04-21 16:41:11 +02:00
parent 36cd7475d8
commit 0590e95f40
2 changed files with 2 additions and 4 deletions

View File

@ -37,6 +37,5 @@ echo "Checking dashboard configuration."
check_dashboard_settings
echo "Reloading apache and memcached service."
sudo service apache2 stop
sudo service apache2 start
sudo service apache2 restart
sudo service memcached restart

View File

@ -54,6 +54,5 @@ echo "Checking dashboard configuration."
check_dashboard_settings
echo "Reloading apache and memcached service."
sudo service apache2 stop
sudo service apache2 start
sudo service apache2 restart
sudo service memcached restart