Always restarting Apache after a frontend update

This commit is contained in:
Rick
2016-11-12 23:39:16 +00:00
parent 42e3c9730a
commit 2f37aa7492
@@ -80,9 +80,11 @@ chown www-data:www-data /etc/swarmops/symmetricKey.config
if [ -e /tmp/swarmops-restart-apache.flag ]; then
/etc/init.d/apache2 start
rm /tmp/swarmops-restart-apache.flag
else
# Actually, _always_ restart Apache - something isn't right otherwise
/etc/init.d/apache2 restart
fi
# Always end a frontend update with an Apache reload to clear caches
/etc/init.d/apache2 reload
# /etc/init.d/apache2 reload