summaryrefslogtreecommitdiff
path: root/pcr/opentracker/opentracker.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/opentracker/opentracker.service')
-rw-r--r--pcr/opentracker/opentracker.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/opentracker/opentracker.service b/pcr/opentracker/opentracker.service
new file mode 100644
index 000000000..5f1b887ea
--- /dev/null
+++ b/pcr/opentracker/opentracker.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenTracker Daemon
+After=network.target
+
+[Service]
+User=nobody
+ExecStart=/usr/bin/opentracker -f /etc/opentracker/config
+ExecStop=/bin/kill -INT $MAINPID
+
+[Install]
+WantedBy=multi-user.target