Trying to fix an install warning in frontend

This commit is contained in:
Rick Falkvinge
2017-01-04 17:05:59 +01:00
parent 92ff29512f
commit 6517694262
@@ -8,7 +8,7 @@
if [ ! -e /etc/swarmops/database.config ]; then
if [ -e /etc/init.d/apache2 ]; then
if [ /etc/init.d/apache2 status > /dev/null ]; then
if [ -z $(pidof -s apache2) ]; then
# Set a flag to postinst to restart Apache
echo foo > /tmp/swarmops-restart-apache.flag
/etc/init.d/apache2 stop