@@ -0,0 +1,10 @@
#!/bin/bash
FILE=".pid"
if [ -f $FILE ]; then
./stop.sh
fi
fuser -k 5000/tcp
source venv/bin/activate
nohup python app.py &
echo $! > $FILE
The note is not visible to the blocked user.