mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 00:32:17 +01:00
20 lines
281 B
Plaintext
20 lines
281 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
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 $?
|
|
}
|