fix path error in servicefile

This commit is contained in:
NL-TCH 2024-02-09 02:17:15 +01:00
parent aec0279135
commit 910616ef43

View file

@ -6,7 +6,7 @@ After=network.target
User=root
WorkingDirectory=/etc/raspap/api
LimitNOFILE=4096
ExecStart=/usr/bin/python3 uvicorn main:app --host 0.0.0.0 --port 8081
ExecStart=/usr/bin/python3 -m uvicorn main:app --host 0.0.0.0 --port 8081
Restart=on-failure
RestartSec=5s