summarylogtreecommitdiffstats
path: root/xteve.service
diff options
context:
space:
mode:
Diffstat (limited to 'xteve.service')
-rw-r--r--xteve.service24
1 files changed, 11 insertions, 13 deletions
diff --git a/xteve.service b/xteve.service
index 05f0df66fe4c..5da3bb08c14f 100644
--- a/xteve.service
+++ b/xteve.service
@@ -1,18 +1,16 @@
[Unit]
-Description=xTeVe Service
-Wants=network-online.target
-After=network-online.target
+Description = M3U Proxy for Plex DVR and Emby Live TV.
+After = network-online.target
[Service]
-User=xteve
-Group=xteve
-Type=simple
-ExecStart=/usr/bin/xteve
-ExecReload=/usr/bin/killall xteve
-ExecStop=/usr/bin/killall xteve
-KillMode=process
-Restart=always
-RestartSec=15
+User = xteve
+Group = xteve
+WorkingDirectory = /var/lib/xteve
+ExecStart = xteve --config /var/lib/xteve
+KillMode = process
+Restart = always
+RestartSec = 15
+ExecStopPost = /usr/bin/rm -rf /tmp/xteve
[Install]
-WantedBy=multi-user.target
+WantedBy = multi-user.target