tkurbad-overlay/media-tv/tvheadend/files/tvheadend.service

15 lines
304 B
SYSTEMD
Raw Normal View History

2016-10-01 13:50:24 +02:00
[Unit]
Description=tvheadend
After=network.target
[Service]
Type=forking
PIDFile=/run/tvheadend.pid
ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -c /etc/tvheadend -u tvheadend -g video
ExecStop=/usr/bin/rm /run/tvheadend.pid
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target