X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=debian%2Floctrkd.wsgateway.service;fp=debian%2Floctrkd.wsgateway.service;h=bf83da8bbb56d7afc20494835c21a2021b01343b;hb=dbdf9d63af31770ad57302e16b17a2fdc526773f;hp=0000000000000000000000000000000000000000;hpb=bf48ccad4b4b91e7d7e09d1087f5953bc2db97d7;p=loctrkd.git diff --git a/debian/loctrkd.wsgateway.service b/debian/loctrkd.wsgateway.service new file mode 100644 index 0000000..bf83da8 --- /dev/null +++ b/debian/loctrkd.wsgateway.service @@ -0,0 +1,17 @@ +[Unit] +Description=GPS303 Websocket Gateway Service +PartOf=loctrkd.target + +[Service] +Type=simple +EnvironmentFile=-/etc/default/loctrkd +ExecStart=python3 -m loctrkd.wsgateway $OPTIONS +KillSignal=INT +Restart=on-failure +StandardOutput=journal +StandardError=inherit +User=loctrkd +Group=loctrkd + +[Install] +WantedBy=loctrkd.target