summaryrefslogtreecommitdiffstats
path: root/testing/darkice/darkice.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/darkice/darkice.initd')
-rwxr-xr-xtesting/darkice/darkice.initd10
1 files changed, 3 insertions, 7 deletions
diff --git a/testing/darkice/darkice.initd b/testing/darkice/darkice.initd
index f722c5214..1c4777134 100755
--- a/testing/darkice/darkice.initd
+++ b/testing/darkice/darkice.initd
@@ -1,18 +1,14 @@
#!/sbin/runscript
-DARKICE_BIN="/usr/bin/darkice"
-DARKICE_OPTS="-c /etc/darkice/darkice.cfg"
-
-
depend() {
- need net
+ need net icecast
after firewall
}
start() {
ebegin "Starting DarkIce"
- start-stop-daemon --start --quiet --background --exec $DARKICE_BIN \
- -- $DARKICE_OPTS > /dev/null
+ start-stop-daemon --start --quiet --background \
+ --exec ${DARKICE_BIN} -- ${DARKICE_OPTS}
eend $?
}