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