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

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
Reference in New Issue
openstack/training-guides
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.