X-Git-Url: http://www.average.org/gitweb/?a=blobdiff_plain;f=debian%2Floctrkd.storage.service;fp=debian%2Floctrkd.storage.service;h=e890aa377307215709c8a33853b963140234241b;hb=dbdf9d63af31770ad57302e16b17a2fdc526773f;hp=0000000000000000000000000000000000000000;hpb=bf48ccad4b4b91e7d7e09d1087f5953bc2db97d7;p=loctrkd.git diff --git a/debian/loctrkd.storage.service b/debian/loctrkd.storage.service new file mode 100644 index 0000000..e890aa3 --- /dev/null +++ b/debian/loctrkd.storage.service @@ -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