aboutsummaryrefslogtreecommitdiffstats
path: root/testing/icecast/icecast.initd
blob: b30027b2fe4cb113958d6366287ceb23ac6cc46c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 $?
}