Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 109236 Details for
Bug 165448
Apache2 init script does not restart reliably
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Makes stop() wait till no apache processes are running
apache2.patch (text/plain), 578 bytes, created by
John McFarlane
on 2007-02-05 14:26:26 UTC
(
hide
)
Description:
Makes stop() wait till no apache processes are running
Filename:
MIME Type:
Creator:
John McFarlane
Created:
2007-02-05 14:26:26 UTC
Size:
578 bytes
patch
obsolete
>*** apache2.ORIG Sun Feb 4 14:20:34 2007 >--- apache2 Sun Feb 4 15:26:25 2007 >*************** >*** 78,83 **** >--- 78,96 ---- > checkconfig || return 1 > ebegin "Stopping apache2" > ${APACHE2} ${APACHE2_OPTS} -k stop >+ >+ # Wait for apache to actually stop before reporting so >+ for i in `seq 1 30` ; do >+ if [ "`ps -ef | awk '/\/usr\/sbin\/apache2/'`" == '' ] ; then >+ # Apache has stopped >+ break >+ else >+ echo " ^-- Waiting for apache to stop..." >+ fi; >+ sleep 1 >+ done >+ >+ > eend $? > } >
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 165448
: 109236