Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217619 Details for
Bug 273138
Update OpenRC detection in existing init.d scripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev-util/git: Init script proposed fix
git.patch (text/plain), 594 bytes, created by
Trevor Summers Smith
on 2010-01-27 17:56:11 UTC
(
hide
)
Description:
dev-util/git: Init script proposed fix
Filename:
MIME Type:
Creator:
Trevor Summers Smith
Created:
2010-01-27 17:56:11 UTC
Size:
594 bytes
patch
obsolete
>--- git-daemon.initd 2010-01-25 14:07:33.000000000 -0500 >+++ git-daemon.initd.new 2010-01-25 14:16:56.000000000 -0500 >@@ -5,13 +5,18 @@ > > PIDFILE=/var/run/git-daemon.pid > >+# Check for OpenRC/Baselayout 2 - see bug #270646 >+is_openrc() { >+ [ -f /lib/librc.so -o -f /etc/init.d/sysfs -o -f /lib/rc/version ] >+} >+ > depend() { > need net > use logger > } > > start() { >- [ -e /lib/librc.so ] || BL1_COMPAT="--name git-daemon" >+ is_openrc || BL1_COMPAT="--name git-daemon" > ebegin "Starting git-daemon" > start-stop-daemon --start --quiet --background \ > --pidfile ${PIDFILE} ${BL1_COMPAT} \
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 273138
:
217618
| 217619 |
217621
|
217622
|
217625
|
217627