Changed postinst to account for upstream bugfix

This commit is contained in:
Rick Falkvinge
2016-09-14 16:16:14 +02:00
parent c9cb85fb4c
commit 73bb0202d3
@@ -24,8 +24,15 @@ if [ ! -e /var/lib/swarmops/upload ]; then
# # Forcing a stop/start cycle because of install dependency fuckups
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
# /etc/init.d/apache2 stop
# /etc/init.d/apache2 start
# # The install dependency fuckups have been mostly solved upstream,
# # so just reload instead of the stop/start cycle
#
# # aka "we tried turning it off and on again already"
/etc/init.d/apache2 reload
# # If asked to start Apache2, we've already done so, so remove flag