Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375730 Details for
Bug 503986
www-servers/apache init.d start / stop dont work anymore when -D PERL is active
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
apache2.initd.patch
apache2.initd.patch (text/plain), 563 bytes, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2014-04-25 19:56:32 UTC
(
hide
)
Description:
apache2.initd.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2014-04-25 19:56:32 UTC
Size:
563 bytes
patch
obsolete
>diff --git a/2.2/init/apache2.initd b/2.2/init/apache2.initd >index e3bc921..af28d50 100755 >--- a/2.2/init/apache2.initd >+++ b/2.2/init/apache2.initd >@@ -106,8 +106,10 @@ stop() { > ${APACHE2} ${APACHE2_OPTS} -k stop > > local i=0 retval=0 >- while ( test -f "${PIDFILE}" && pgrep -P ${PID} apache2 >/dev/null ) \ >- && [ $i -lt ${TIMEOUT} ]; do >+ while [ -f "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ] ; do >+ while pgrep -P ${PID} apache2 >/dev/null ; do >+ sleep 1 && i=$(expr $i + 1) >+ done > sleep 1 && i=$(expr $i + 1) > done > [ -e "${PIDFILE}" ] && retval=1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 503986
: 375730