aports/testing/tvheadend-git/tvheadend-git.initd
2012-06-13 12:01:15 +00:00

19 lines
362 B
Plaintext

#!/sbin/runscript
depend() {
need net
}
start() {
ebegin "Starting tvheadend"
start-stop-daemon --start \
--user ${TVHUSER} \
--exec ${TVHBIN} -- -C -f
eend $?
}
stop() {
ebegin "Stopping tvheadend"
start-stop-daemon --stop --quiet --name tvheadend --signal 2
eend $?
}