blob: fbfc6a843283d40c97f4a6f4d061584fb37252f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
depend() {
need net
after firewall
}
start() {
ebegin "Starting Icecast 2"
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 --exec /usr/bin/icecast
eend $?
}
|