From bd6076708808c3babb82cd2b6e318c2bf9c88e29 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 8 Oct 2017 14:35:47 +0200 Subject: [PATCH] [fix] alternc.install must kill apache2 since jessie is broken here... --- jessie/alternc.install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jessie/alternc.install b/jessie/alternc.install index fc32e953..214ae11d 100644 --- a/jessie/alternc.install +++ b/jessie/alternc.install @@ -612,7 +612,7 @@ run-parts --arg=before-reload /usr/lib/alternc/install.d ####################################################################### # Reload services # -for service in postfix apache2 dovecot cron proftpd ; do +for service in postfix dovecot cron proftpd ; do invoke-rc.d $service force-reload || true done @@ -620,6 +620,10 @@ done for service in $SERVICES; do test -x /etc/init.d/$service && invoke-rc.d $service stop || true done + +# on Jessie, apache2 does not stop/start properly due to "service" and "apache2ctl" having different behavior pid-file-wise +killall apache2 + for service in $SERVICES; do test -x /etc/init.d/$service && invoke-rc.d $service start || true done