1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/darkice/darkice.initd
2020-03-27 21:27:33 +00:00

20 lines
312 B
Text
Executable file

#!/sbin/openrc-run
depend() {
need net icecast
after firewall
}
start() {
ebegin "Starting DarkIce"
start-stop-daemon --start --quiet --background \
--exec ${DARKICE_BIN} -- ${DARKICE_OPTS}
eend $?
}
stop() {
ebegin "Stopping DarkIce"
start-stop-daemon --stop --exec $DARKICE_BIN
eend $?
}