[fix] simplify restart of services for apache2
This commit is contained in:
parent
fa1fae9af7
commit
654edab277
|
@ -373,7 +373,6 @@ if [ -x /usr/sbin/apache2 ]; then
|
||||||
run-parts --arg=apache2 /usr/lib/alternc/install.d
|
run-parts --arg=apache2 /usr/lib/alternc/install.d
|
||||||
a2enmod mpm_itk
|
a2enmod mpm_itk
|
||||||
|
|
||||||
s="apache2"
|
|
||||||
# unused from AlternC 1.0, FIXME: remove it later
|
# unused from AlternC 1.0, FIXME: remove it later
|
||||||
if [ -L /etc/apache2/mods-enabled/vhost_alias.load ]
|
if [ -L /etc/apache2/mods-enabled/vhost_alias.load ]
|
||||||
then
|
then
|
||||||
|
@ -406,7 +405,7 @@ if [ -x /usr/sbin/apache2 ]; then
|
||||||
a2enconf alternc
|
a2enconf alternc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SERVICES="$SERVICES $s"
|
SERVICES="$SERVICES apache2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Manage sudoers.d include appearing in Squeeze:
|
# Manage sudoers.d include appearing in Squeeze:
|
||||||
|
|
Loading…
Reference in New Issue