Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 384408 Details for
Bug 522206
net-misc/dhcpcd-6.4.3 fails to start/stop network dependant services like ntpd, sshd, fetchmail
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add IN_BACKGROUND support to runscript service templates
runscript-background.diff (text/plain), 684 bytes, created by
Roy Marples
on 2014-09-08 20:45:30 UTC
(
hide
)
Description:
Add IN_BACKGROUND support to runscript service templates
Filename:
MIME Type:
Creator:
Roy Marples
Created:
2014-09-08 20:45:30 UTC
Size:
684 bytes
patch
obsolete
>--- runscript.sh.orig 2014-09-08 21:41:13.351207527 +0100 >+++ runscript.sh 2014-09-08 21:40:59.345152895 +0100 >@@ -125,6 +125,9 @@ > # Template start / stop / status functions > start() > { >+ # Support re-entrant services >+ [ "$IN_BACKGROUND" = true ] && return 0 >+ > [ -n "$command" ] || return 0 > local _background= > ebegin "Starting ${name:-$RC_SVCNAME}" >@@ -162,6 +165,12 @@ > > stop() > { >+ # Support re-entrant services >+ if [ "$IN_BACKGROUND" = true ]; then >+ mark_service_inactive "$RC_SVCNAME" >+ return 0 >+ fi >+ > local startcommand="$(service_get_value "command")" > local startpidfile="$(service_get_value "pidfile")" > local startprocname="$(service_get_value "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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 522206
:
384240
| 384408 |
384410
|
384414
|
384442
|
384460
|
384626
|
396740
|
396782
|
396822
|
396830
|
402856
|
402858
|
415554