no message
This commit is contained in:
2
run.sh
2
run.sh
@@ -8,7 +8,7 @@ if [ "$(id -u)" -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p logs
|
mkdir -p logs
|
||||||
nohup .venv/bin/python main.py > logs/app.log 2>&1 &
|
setsid nohup .venv/bin/python main.py > logs/app.log 2>&1 < /dev/null &
|
||||||
PID=$!
|
PID=$!
|
||||||
disown "$PID" 2>/dev/null || true
|
disown "$PID" 2>/dev/null || true
|
||||||
echo "$PID" > .pid
|
echo "$PID" > .pid
|
||||||
|
|||||||
Reference in New Issue
Block a user