Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 282349 Details for
Bug 231854
sys-apps/openrc stop-start-daemon --pid check is broken when starting services
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
stale-pidfiles.patch
stale-pidfiles.patch (text/plain), 446 bytes, created by
William Hubbs
on 2011-08-06 18:05:49 UTC
(
hide
)
Description:
stale-pidfiles.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2011-08-06 18:05:49 UTC
Size:
446 bytes
patch
obsolete
>diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in >index fe30a03..fcadd17 100644 >--- a/sh/runscript.sh.in >+++ b/sh/runscript.sh.in >@@ -148,6 +148,10 @@ start() > service_inactive && _inactive=true > mark_service_inactive > fi >+ if [ -n "$pidfile" ] && \ >+ ! start-stop-daemon --test --quiet --stop --pidfile "$pidfile"; then >+ rm -f ${pidfile} >+ fi > eval start-stop-daemon --start \ > --exec $command \ > ${procname:+--name} $procname \
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 Raw
Actions:
View
Attachments on
bug 231854
: 282349