#!/bin/bash FILE=".pid" if [ -f $FILE ]; then ./stop.sh fi fuser -k 5000/tcp source venv/bin/activate python app.py echo $$ > $FILE