From 251cb7db6d4b4671af857667c1e318625b021764 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 27 Sep 2007 08:29:11 +0000 Subject: [PATCH] restart with stop/start instead of restart (...) apache AND apache2 (test) --- install/alternc.install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install/alternc.install b/install/alternc.install index 4045c4d6..25359b7c 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -286,6 +286,9 @@ if [ "$HAS_ROOT" != "1" ]; then 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 +for service in apache apache-ssl apache2 ; do + 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