summarylogtreecommitdiffstats
path: root/tvheadend.service
diff options
context:
space:
mode:
authorfrancoism902021-03-21 15:07:33 +0100
committerfrancoism902021-03-21 15:07:33 +0100
commitec586892600df55e51fb2cc1ba72b63d73ca427d (patch)
tree7e7cb164ad8771bb5bfef639a26766f3b9ce33d6 /tvheadend.service
parent93db26656edc3294ade3be9c23bc0517bc87d788 (diff)
downloadaur-ec586892600df55e51fb2cc1ba72b63d73ca427d.tar.gz
Merge breaking changes
Diffstat (limited to 'tvheadend.service')
-rw-r--r--tvheadend.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/tvheadend.service b/tvheadend.service
new file mode 100644
index 000000000000..2c47f2172418
--- /dev/null
+++ b/tvheadend.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Tvheadend - a TV streaming server and DVR
+Wants=network.target
+
+[Service]
+Type=forking
+RuntimeDirectory=tvheadend
+PrivateTmp=yes
+Environment=PID_DIR=/run/tvheadend
+User=tvheadend
+Group=tvheadend
+ExecStart=/usr/bin/tvheadend -c /etc/tvheadend -f -p ${PID_DIR}/tvheadend.pid -C
+Restart=always
+
+[Install]
+WantedBy=multi-user.target