From 0eca7a3b9a7f2b944ed3b3ec117d4e9e89422cc6 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 21 Oct 2022 18:22:16 +0200 Subject: [PATCH] LOGS --- 12345.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/12345.sh b/12345.sh index aeaf977a..29795917 100755 --- a/12345.sh +++ b/12345.sh @@ -67,7 +67,7 @@ while true; do ${MY_PATH}/tools/keygen -t ipfs -o ~/.zen/tmp/gchange.key "$SALT" "$PEPPER" GNS=$(ipfs key import gchange -f pem-pkcs8-cleartext ~/.zen/tmp/gchange.key ) - echo "$GNS" + echo "$GNS is AVAILABLE on http://$myIP:${PORT}" echo "$GNS" | nc -l -p ${PORT} -q 1 & ## CHECK IF ALREADY EXISTING PLAYER @@ -134,6 +134,8 @@ while [[ ! -f ~/.zen/tmp/index.redirect.${MOATS} && ! $(ps auxf --sort=+utime | ## Attente cloture WAITING $PORT. Puis Lancement one shot http server while [[ $(ps auxf --sort=+utime | grep -w 'nc -l -p '${PORT} | grep -v -E 'color=auto|grep') ]]; do sleep 0.5; done + echo "ASTRONAUT REDIRECTION /ipns/$TWLINK AVAILABLE on http://$myIP:${PORT}" + cat ~/.zen/tmp/index.redirect.${MOATS} | nc -l -p ${PORT} -q 1 & ###################################################################################################