Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265587 Details for
Bug 358447
net-proxy/squid init.d stopping too related from squid health
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
squid.initd.patch
squid.initd.patch (text/plain), 474 bytes, created by
Denis Kaganovich
on 2011-03-11 19:11:37 UTC
(
hide
)
Description:
squid.initd.patch
Filename:
MIME Type:
Creator:
Denis Kaganovich
Created:
2011-03-11 19:11:37 UTC
Size:
474 bytes
patch
obsolete
>--- squid.initd 2009-11-28 14:32:58.000000000 +0200 >+++ squid 2011-03-11 20:57:22.000000000 +0200 >@@ -95,7 +95,8 @@ stop() { > if [ -f /var/run/${SVCNAME}.pid ] ; then > einfon "Waiting for squid to shutdown ." > cnt=0 >- while [ -f /var/run/${SVCNAME}.pid ] ; do >+ while pid=`cat /var/run/${SVCNAME}.pid 2>/dev/null` && >+ [ -n "$pid" ] && [ -d "/proc/$pid" ] ; do > cnt=$(expr $cnt + 1) > if [ $cnt -gt 60 ] ; then > # Waited 120 seconds now. Fail.
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 358447
: 265587