Debian systemd unit: Use /usr/bin/python3 rather than /usr/lib/spaceapi-server/spaceapi-server
This commit is contained in:
parent
6dc1aa9df0
commit
4513c26a82
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
Description=Lightweight SpaceAPI Endpoint Server
|
Description=Lightweight SpaceAPI Endpoint Server
|
||||||
|
|
||||||
[Service]
|
[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
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||||
User=spaceapi-server
|
User=spaceapi-server
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue