mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 10:51:39 +02:00
19 lines
362 B
Plaintext
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 $?
|
|
}
|