aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tvheadend-git/tvheadend-git.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-02-18 17:47:27 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-02-18 17:47:35 +0100
commite6935a7a5b06168e47752d92216a72d079d5daa2 (patch)
tree1064c78987f3366b43aab454dfce15da3be9dcef /testing/tvheadend-git/tvheadend-git.initd
parentb381c592ceff5b4a92108f391d0fdbfee682d149 (diff)
downloadaports-e6935a7a5b06168e47752d92216a72d079d5daa2.tar.bz2
aports-e6935a7a5b06168e47752d92216a72d079d5daa2.tar.xz
testing/tvheadend-git: new aport
Diffstat (limited to 'testing/tvheadend-git/tvheadend-git.initd')
-rw-r--r--testing/tvheadend-git/tvheadend-git.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/tvheadend-git/tvheadend-git.initd b/testing/tvheadend-git/tvheadend-git.initd
new file mode 100644
index 0000000000..05b6fea8a3
--- /dev/null
+++ b/testing/tvheadend-git/tvheadend-git.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
+}