aboutsummaryrefslogblamecommitdiffstats
path: root/main/darkice/darkice.initd
blob: 4d7b728e820c4f0c31fcf7563df246325f39d48c (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
 
          
                        




                                 

                                                        








                                                    
#!/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 $?
}