]> www.average.org Git - loctrkd.git/blobdiff - debian/loctrkd.storage.service
rename gps303 -> loctrkd
[loctrkd.git] / debian / loctrkd.storage.service
diff --git a/debian/loctrkd.storage.service b/debian/loctrkd.storage.service
new file mode 100644 (file)
index 0000000..e890aa3
--- /dev/null
@@ -0,0 +1,17 @@
+[Unit]
+Description=GPS303 Storage Service
+PartOf=loctrkd.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/default/loctrkd
+ExecStart=python3 -m loctrkd.storage $OPTIONS
+KillSignal=INT
+Restart=on-failure
+StandardOutput=journal
+StandardError=inherit
+User=loctrkd
+Group=loctrkd
+
+[Install]
+WantedBy=loctrkd.target