Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261005 - media-sound/darkice: Init script
Summary: media-sound/darkice: Init script
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
Depends on:
Reported: 2009-03-03 02:38 UTC by Emery Hemingway
Modified: 2020-12-20 19:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

init.d/darkice (darkice,511 bytes, text/plain)
2009-03-03 02:41 UTC, Emery Hemingway
conf.d/darkice (darkice,220 bytes, text/plain)
2009-03-03 02:42 UTC, Emery Hemingway
darkice - init script (darkice,861 bytes, text/plain)
2010-09-27 10:23 UTC, Christian Affolter
darkice - init script configuration (conf.d) (darkice,339 bytes, text/plain)
2010-09-27 10:24 UTC, Christian Affolter
darkice init script (darkice.init,452 bytes, text/plain)
2013-01-14 13:09 UTC, Lars Wendler (Polynomial-C)

Note You need to log in before you can comment on or make changes to this bug.
Description Emery Hemingway 2009-03-03 02:38:57 UTC
Here is script to start and stop DarkIce based on that of Ices2. Added an option to set user permissions.

Reproducible: Always
Comment 1 Emery Hemingway 2009-03-03 02:41:56 UTC
Created attachment 183732 [details]
Comment 2 Emery Hemingway 2009-03-03 02:42:56 UTC
Created attachment 183734 [details]
Comment 3 Lars Wendler (Polynomial-C) gentoo-dev 2009-03-05 21:31:26 UTC
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.
Comment 4 Emery Hemingway 2009-03-12 16:59:37 UTC
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.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-12 18:41:42 UTC
This might have to be moved to proaudio I guess.
Comment 6 Christian Affolter 2010-09-27 10:22:29 UTC
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
Comment 7 Christian Affolter 2010-09-27 10:23:17 UTC
Created attachment 248787 [details]
darkice - init script
Comment 8 Christian Affolter 2010-09-27 10:24:07 UTC
Created attachment 248788 [details]
darkice - init script configuration (conf.d)
Comment 9 Lars Wendler (Polynomial-C) gentoo-dev 2013-01-14 13:09:51 UTC
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.
Comment 10 Mike Pagano gentoo-dev 2020-12-20 19:00:32 UTC
Holy old bug.  I can confirm the attached files work perfectly except for changing to #!/sbin/openrc-run