From f8fbb858a5079248467cf8d6bf5c6707d421763d Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 26 Aug 2007 20:44:53 +0000 Subject: [PATCH] force the restart of apache & apache-ssl : Fixes #1000 --- install/alternc.install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install/alternc.install b/install/alternc.install index 0eb8c6b4..f4784a0d 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -248,12 +248,12 @@ if [ -x /usr/sbin/locale-gen ] ; then fi ####################################################################### -# Restart services +# Reload services # for service in apache apache-ssl postfix bind9 courier-authdaemon \ courier-imap courier-imap-ssl courier-pop courier-pop-ssl \ cron proftpd; do - test -x /etc/init.d/$service && invoke-rc.d $service restart || true + test -x /etc/init.d/$service && invoke-rc.d $service reload || true done ####################################################################### @@ -286,3 +286,7 @@ if [ "$HAS_ROOT" != "1" ]; then fi fi +# We should restart apaches after all configuration stuff ... +for service in apache apache-ssl ; do + test -x /etc/init.d/$service && invoke-rc.d $service restart || true +done