Debian systemd unit: Use /usr/bin/python3 rather than /usr/lib/spaceapi-server/spaceapi-server

This commit is contained in:
s3lph 2019-11-26 15:21:58 +01:00
parent 6dc1aa9df0
commit 4513c26a82

View file

@ -2,7 +2,7 @@
Description=Lightweight SpaceAPI Endpoint Server
[Service]
ExecStart=/usr/lib/spaceapi-server/spaceapi-server /etc/spaceapi-server/config.json
ExecStart=/usr/bin/python3 -m spaceapi-server /etc/spaceapi-server/config.json
ExecReload=/usr/bin/kill -HUP $MAINPID
User=spaceapi-server