summarylogtreecommitdiffstats
path: root/tvheadend.service
blob: 5754f27d20a0cc016472c6368a0744edff2c8cfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=tvheadend
After=tmp.mount network.target

[Service]
Type=forking
PIDFile=/run/tvheadend.pid
ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -u hts -g video
ExecStop=/usr/bin/rm /run/tvheadend.pid
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target