diff --git a/12345.sh b/12345.sh index 39c85de0..d98ebe01 100755 --- a/12345.sh +++ b/12345.sh @@ -65,7 +65,8 @@ while true; do ## RANDOM PORT SWAPPINESS AVOIDING COLLISION ## CHECK 12345 PORT RUNNING (PUBLISHING IPNS SWARM MAP) - maprunning=$(ps auxf --sort=+utime | grep -w 'nc -l -p 12345' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) + maprunning=$(ps auxf --sort=+utime | grep -w '_12345.sh' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) + #maprunning=$(ps auxf --sort=+utime | grep -w 'nc -l -p 12345' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) [[ ! $maprunning ]] && ($MY_PATH/_12345.sh &) && echo '(ᵔ◡◡ᵔ) LAUNCHING http://'$myIP:'12345 (ᵔ◡◡ᵔ)' ############### IPNS SESSION KEY TRY LATER diff --git a/start.sh b/start.sh index 1cff9082..57d81f31 100755 --- a/start.sh +++ b/start.sh @@ -13,7 +13,7 @@ TS=$(date -u +%s%N | cut -b1-13) MOATS=$(date -u +"%Y%m%d%H%M%S%4N") ################################################### -killall 12345.sh; killall _12345.sh; killall nc; killall tail; mkdir -p ~/.zen/tmp +killall 12345.sh; killall "_12345.sh"; killall nc; killall tail; mkdir -p ~/.zen/tmp ~/.zen/Astroport.ONE/12345.sh > ~/.zen/tmp/12345.log & tail -f ~/.zen/tmp/12345.log & echo "1234 PORT SPIDER http://$myIP:1234" diff --git a/templates/video_chain.html b/templates/video_chain.html index 2a7557fd..7c6e58de 100644 --- a/templates/video_chain.html +++ b/templates/video_chain.html @@ -17,7 +17,7 @@
-