restart with stop/start instead of restart (...) apache AND apache2 (test)
This commit is contained in:
parent
df3b3b0769
commit
251cb7db6d
|
@ -286,6 +286,9 @@ if [ "$HAS_ROOT" != "1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We should restart apaches after all configuration stuff ...
|
# We should restart apaches after all configuration stuff ...
|
||||||
for service in apache apache-ssl ; do
|
for service in apache apache-ssl apache2 ; do
|
||||||
test -x /etc/init.d/$service && invoke-rc.d $service restart || true
|
test -x /etc/init.d/$service && invoke-rc.d $service stop || true
|
||||||
|
done
|
||||||
|
for service in apache apache-ssl apache2 ; do
|
||||||
|
test -x /etc/init.d/$service && invoke-rc.d $service start || true
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue