Merge pull request #105 from SunilMohanAdapa/owncloud-apache-reload

owncloud: Do Apache reload instead of restart
This commit is contained in:
fonfon committed 2015-02-23 14:39:12 +01:00
commit 855755263d
1 file changed
+3 -3
+3 -3
View File
@@ -91,7 +91,7 @@ EOF
# 'adminpass' => '$adminpwd',
a2enconf owncloud 2>&1 | logger -t owncloud-setup
service apache2 restart 2>&1 | logger -t owncloud-setup
service apache2 reload 2>&1 | logger -t owncloud-setup
# Initialize application and database tables by visiting
# the front page. This only work if admin user and
@@ -99,10 +99,10 @@ EOF
#wget --quiet http://$(uname -n)/owncloud/index.php
else
a2enconf owncloud 2>&1 | logger -t owncloud-setup
service apache2 restart 2>&1 | logger -t owncloud-setup
service apache2 reload 2>&1 | logger -t owncloud-setup
fi
else
a2disconf owncloud 2>&1 | logger -t owncloud-setup
service apache2 restart 2>&1 | logger -t owncloud-setup
service apache2 reload 2>&1 | logger -t owncloud-setup
fi
fi