removes lock file before upgrading
This commit is contained in:
parent
8f2b5ff9ee
commit
a7a3364529
@ -53,6 +53,7 @@ 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
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
ExecStopPost=/bin/bash -c "rm -f /opt/flatnotes/uv.lock 2>/dev/null || true"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user