aboutsummaryrefslogtreecommitdiffstats
path: root/testing/icecast/icecast.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/icecast/icecast.initd')
-rw-r--r--testing/icecast/icecast.initd6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/icecast/icecast.initd b/testing/icecast/icecast.initd
index b82e5cddf6..fbfc6a8432 100644
--- a/testing/icecast/icecast.initd
+++ b/testing/icecast/icecast.initd
@@ -7,12 +7,14 @@ depend() {
start() {
ebegin "Starting Icecast 2"
- start-stop-daemon --background --start --make-pidfile --pidfile /var/run/icecast.pid --exec /usr/bin/icecast -- -c /etc/icecast.xml
+ start-stop-daemon --start --exec /usr/bin/icecast \
+ -- \
+ -b -c ${icecast_conf:-/etc/icecast.xml} > /dev/null
eend $?
}
stop() {
ebegin "Stopping Icecast 2"
- start-stop-daemon --stop --pidfile /var/run/icecast.pid --name icecast
+ start-stop-daemon --stop --exec /usr/bin/icecast
eend $?
}