Launch "netcat" API server (http://127.0.0.1:1234)
This commit is contained in:
parent
905d7f132a
commit
2769c656d9
2
12345.sh
2
12345.sh
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue