Changed postinst to account for upstream bugfix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user