Spaces:
Atualli
/
Sleeping

File size: 361 Bytes
a236f10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
export path=/home/atualli/.local/lib/python3.8/site-packages:$PATH
cd ~/Projetos/huggingface/yolov7
SERVER=192.168.0.153
PORT=8080

if lsof -Pi :$PORT -sTCP:LISTEN -t >/dev/null ; then
    echo "running"
else
    ./telegramCrise.sh "reiniciando_yolox_V5G_linux_192.168.0.153:8080"
    pkill -f app1.py
    python app1.py &
    echo "not running"
fi