aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-10-31 04:51:56 +0800
committerclement <clement@FreeBSD.org>2005-10-31 04:51:56 +0800
commit79e4994f8cf5396a17df3837b5d333830777255a (patch)
treeae64403d4e3638954ec8e2b11415fa2da2112a6a /www/apache20
parente8e908958068dec3b72d69b4b0e253da19f5273a (diff)
downloadfreebsd-ports-gnome-79e4994f8cf5396a17df3837b5d333830777255a.tar.gz
freebsd-ports-gnome-79e4994f8cf5396a17df3837b5d333830777255a.tar.zst
freebsd-ports-gnome-79e4994f8cf5396a17df3837b5d333830777255a.zip
- Don't rerun the apache2.sh rc script on restart's, just stop and start
normally PR: ports/86402 Submitted by: Jarrod Sayers <jarrod@netleader.com.au>
Diffstat (limited to 'www/apache20')
-rw-r--r--www/apache20/files/apache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/apache20/files/apache.sh b/www/apache20/files/apache.sh
index fe15a5421fb2..4afaeb55890b 100644
--- a/www/apache20/files/apache.sh
+++ b/www/apache20/files/apache.sh
@@ -67,7 +67,7 @@ if [ -n "${2}" ]; then
echo "$0: extra argument ignored"
fi
else
- if [ "x${apache2_profiles}" != "x" ]; then
+ if [ "x${apache2_profiles}" != "x" -a "x${1}" != "xrestart" ]; then
for profile in ${apache2_profiles}; do
echo "===> apache2 profile: ${profile}"
$0 $1 $profile