#!/bin/bash
pidnum=`ps -ef|grep "manage.py runserver 0.0.0.0:8000"|grep -v grep|awk '{print $2}'`
for pid in $pidnum
do
    kill -9 $pid
done

cd /home/data/lsvp/devicesupport
/usr/bin/python3 manage.py runserver 0.0.0.0:8000
