Launch "netcat" API server (http://127.0.0.1:1234)

This commit is contained in:
fred 2023-07-01 13:23:48 +02:00
parent 905d7f132a
commit 2769c656d9
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ PORT=12345
TUBE=$(myTube)
echo "TUBE=$TUBE"
mkdir -p ~/.zen/tmp/coucou/ ~/.zen/game/players/localhost
mkdir -p ~/.zen/tmp/coucou/ ~/.zen/game/players/localhost #
## CHECK FOR ANY ALREADY RUNNING nc
ncrunning=$(ps axf --sort=+utime | grep -w 'nc -l -p 1234' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)