@@ -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
The note is not visible to the blocked user.