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:
parent
7bc964a259
commit
b85846c6d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146772
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user