summaryrefslogtreecommitdiff
path: root/pcr/opentracker-git/opentracker.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/opentracker-git/opentracker.service')
-rw-r--r--pcr/opentracker-git/opentracker.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/opentracker-git/opentracker.service b/pcr/opentracker-git/opentracker.service
new file mode 100644
index 000000000..5f1b887ea
--- /dev/null
+++ b/pcr/opentracker-git/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