aports/testing/icecast/icecast.initd
2011-03-31 08:27:50 +00:00

20 lines
280 B
Plaintext

#!/sbin/runscript
depend() {
need net
after firewall
}
start() {
ebegin "Starting Icecast 2"
start-stop-daemon --start --exec /usr/bin/icecast \
-- ${ICEC_OPTS}
eend $?
}
stop() {
ebegin "Stopping Icecast 2"
start-stop-daemon --stop --exec /usr/bin/icecast
eend $?
}