Summary: | media-sound/darkice: Init script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Emery Hemingway <emery> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | c.affolter, polynomial-c |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
init.d/darkice
conf.d/darkice darkice - init script darkice - init script configuration (conf.d) darkice init script |
Description
Emery Hemingway
2009-03-03 02:38:57 UTC
Created attachment 183732 [details]
init.d/darkice
Created attachment 183734 [details]
conf.d/darkice
I'm not sure if this package really needs an init-script. I am DJ and a radio moderator and I use darkice regularly but always in conjunction with media-sound/darksnow gui, which I find quite useful for starting/stopping darkice. Of course this is completely my opinion and I don't want to deny that there could be any use-case for an init-script as well. I simply don't see any. Reassigning to sound herd. The script is so when a DJ that doesn't know what they are doing reboots a streaming machine, the engineer doesn't get phone calls in the middle of the night.I presume this is why IceS comes with one. This might have to be moved to proaudio I guess. Attached you'll find a slightly modified version of the init script and its corresponding configuration. Changes: - Redirect stdout and stderr to a user defined log file - Allow passing of darkice command arguments - Added dependency informations Created attachment 248787 [details]
darkice - init script
Created attachment 248788 [details]
darkice - init script configuration (conf.d)
Created attachment 335602 [details]
darkice init script
This is a rewritten init script which is reduced to the bare minimum latest openrc versions require. It's untested but should generally work in combination with the conf.d file posted by Christian Affolter.
If someone can confirm that the script works for him I gonna add it to portage.
Holy old bug. I can confirm the attached files work perfectly except for changing to #!/sbin/openrc-run |