From 73bb0202d36fe84a3b6b55ecc729f6fc71114c70 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 14 Sep 2016 16:16:14 +0200 Subject: [PATCH] Changed postinst to account for upstream bugfix --- .../Packaging/templates/postinst-frontend.template | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/BuildFiles/Packaging/templates/postinst-frontend.template b/BuildFiles/Packaging/templates/postinst-frontend.template index 571e7ea3..47726e4f 100644 --- a/BuildFiles/Packaging/templates/postinst-frontend.template +++ b/BuildFiles/Packaging/templates/postinst-frontend.template @@ -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