diff options
author | Dan Ziemba | 2015-08-10 17:08:32 -0400 |
---|---|---|
committer | Dan Ziemba | 2015-08-10 17:08:32 -0400 |
commit | 2d4cd50751b8afd828e05eff783aa382de4f543f (patch) | |
tree | a15120954ecc588621a0e0757d5602719f230284 /tvheadend.service | |
download | aur-2d4cd50751b8afd828e05eff783aa382de4f543f.tar.gz |
Copied over from aur3 with some updates
Diffstat (limited to 'tvheadend.service')
-rw-r--r-- | tvheadend.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tvheadend.service b/tvheadend.service new file mode 100644 index 000000000000..5754f27d20a0 --- /dev/null +++ b/tvheadend.service @@ -0,0 +1,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 |