4
if [ "$1" != "configure" ]; then
8
#enable cgid, but only on new installs.
13
#if this is a new install we just want to start apache2
14
#else, we should restart.
15
if [ -f "/var/cache/apache2/reload" ]; then
21
if [ -x "/etc/init.d/apache2" ]; then
22
update-rc.d apache2 defaults 91 >/dev/null
23
if [ -x /usr/sbin/invoke-rc.d ]; then
24
invoke-rc.d apache2 $type ||true
26
/etc/init.d/apache2 $type ||true