1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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>
This commit is contained in:
Clement Laforet 2005-10-30 20:51:56 +00:00
parent 7bc964a259
commit b85846c6d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146772
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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