aboutsummaryrefslogtreecommitdiffstats
path: root/community/tvheadend/tvheadend.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-02-25 12:43:13 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-02-25 13:51:35 +0100
commit7adf55b09e89c66500b8b3666604de2fe27db957 (patch)
tree9099f96cb00daea90594eab0806ce213695176e1 /community/tvheadend/tvheadend.initd
parent205c9888121a8921247b6c59969ce04df9d493ca (diff)
downloadaports-7adf55b09e89c66500b8b3666604de2fe27db957.tar.bz2
aports-7adf55b09e89c66500b8b3666604de2fe27db957.tar.xz
community/libhdhomerun: properly install headers and libs
Diffstat (limited to 'community/tvheadend/tvheadend.initd')
-rw-r--r--community/tvheadend/tvheadend.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/tvheadend/tvheadend.initd b/community/tvheadend/tvheadend.initd
new file mode 100644
index 0000000000..05b6fea8a3
--- /dev/null
+++ b/community/tvheadend/tvheadend.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+
+command="/usr/bin/tvheadend"
+command_args="-f -c $TVHCONF -u tvheadend -g video $TVHARGS"
+retry="TERM/30/KILL/5"
+command_background=true
+pidfile=$TVHPID
+name="tvheadend"
+required_dirs=$TVHCONF
+
+depend() {
+ use logger dns
+ need net
+ after firewall
+}