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:
2 changed files with 2 additions and 4 deletions
@@ -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
@@ -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
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.