## KILL ALL REMAINING nc

master
fred 2023-02-03 22:35:05 +01:00
parent bfde0c967f
commit 23cd457369
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ espeak "20 12 Storm & Thunder duration was $dur seconds" > /dev/null 2>&1
espeak "Restarting Astroport Station API" > /dev/null 2>&1
## CLOSING API PORT
[[ -s ~/.zen/.pid ]] && kill -9 $(cat ~/.zen/.pid)
## KILL ALL REMAINING nc
killall nc
## OPEN API ENGINE
~/.zen/Astroport.ONE/12345.sh > ~/.zen/tmp/12345.log &
PID=$!