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