force the restart of apache & apache-ssl : Fixes #1000

This commit is contained in:
Benjamin Sonntag 2007-08-26 20:44:53 +00:00
parent 8a0cbf415d
commit f8fbb858a5
1 changed files with 6 additions and 2 deletions

View File

@ -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