Make apache restart graceful.

mr3.2.1
Andreas Granig 12 years ago
parent fd0ae110b2
commit 2dc0454e0f

@ -15,8 +15,6 @@ case "$1" in
;;
esac
. /usr/share/debconf/confmodule
# enable required modules
a2enmod ssl perl
@ -28,13 +26,9 @@ if [ -e /etc/apache2/sites-enabled/default ]; then
a2dissite default
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
# reload perl and/or apache modules
if [ -x /etc/init.d/apache2 ] ; then
invoke-rc.d apache2 reload
/etc/init.d/apache2 restart || true
fi
exit 0

@ -1,2 +1,2 @@
[% TAGS [- -] %]
/etc/init.d/apache2 reload
/etc/init.d/apache2 restart || true

Loading…
Cancel
Save