Here is script to start and stop DarkIce based on that of Ices2. Added an option to set user permissions.
Created attachment 183732 [details]
Created attachment 183734 [details]
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.
- 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.