Adjust to service
This commit is contained in:
parent
b0bc7bf03a
commit
369d12eb28
@ -53,7 +53,6 @@ EnvironmentFile=/opt/flatnotes/.env
|
|||||||
ExecStart=/opt/flatnotes/.venv/bin/python -m uvicorn main:app --app-dir server --host 0.0.0.0 --port 8080 --proxy-headers
|
ExecStart=/opt/flatnotes/.venv/bin/python -m uvicorn main:app --app-dir server --host 0.0.0.0 --port 8080 --proxy-headers
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
ExecStopPost=/bin/bash -c "rm -f /opt/flatnotes/uv.lock 2>/dev/null || true"
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user