summarylogtreecommitdiffstats
path: root/tvheadend.service
blob: bf7fb9f652c88bbd2719d2d888f8e209fa622001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Tvheadend - a TV streaming server and DVR
Wants=network.target

[Service]
Type=notify
WatchdogSec=1m
TimeoutStartSec=2m
TimeoutStopSec=20
RuntimeDirectory=tvheadend
PrivateTmp=yes
EnvironmentFile=/etc/conf.d/tvheadend
User=tvheadend
Group=tvheadend
ExecStart=/usr/bin/tvheadend -c /etc/tvheadend -n $OPTIONS
Restart=always

[Install]
WantedBy=multi-user.target