no message
Some checks failed
CI / lint-and-build (push) Successful in 14s
CD / deploy (push) Failing after 12s

This commit is contained in:
2026-06-11 00:39:48 +08:00
parent e3810870c9
commit f86ee1307f
2 changed files with 13 additions and 8 deletions

2
run.sh
View File

@@ -8,7 +8,7 @@ if [ "$(id -u)" -ne 0 ]; then
fi
mkdir -p logs
setsid nohup .venv/bin/python main.py > logs/app.log 2>&1 < /dev/null &
nohup .venv/bin/python main.py > logs/app.log 2>&1 &
PID=$!
disown "$PID" 2>/dev/null || true
echo "$PID" > .pid