summaryrefslogtreecommitdiff
path: root/www/apache20
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-10-30 20:51:56 +0000
committerClement Laforet <clement@FreeBSD.org>2005-10-30 20:51:56 +0000
commitb85846c6d1d2bb261503ead80a99f4e70cf07cf7 (patch)
tree9badedbff36fee5041f4a6259386f30814fbf49e /www/apache20
parentUpdate WWW entry. (diff)
- 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>
Notes
Notes: svn path=/head/; revision=146772
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