Activate g1-compagnon API (nc 1234 http port bash relay)

This commit is contained in:
fred 2022-06-14 00:52:01 +02:00
parent 3825b1bebc
commit efda32a4d5
1 changed files with 8 additions and 0 deletions

View File

@ -164,7 +164,15 @@ fi
if [[ $(($runtime % 15)) == 0 ]]; then
########## DESYNCH SWARM NODE REQUESTS #################
[[ ! -d ~/.zen/Astroport.ONE ]] && cd ~/.zen && git clone https://git.p2p.legal/qo-op/Astroport.ONE.git
[[ -d ~/.zen/Astroport.ONE ]] && cd ~/.zen/Astroport.ONE && sleep $((1 + RANDOM % 12)) && git pull
########################################################################
# RE/LAUNCHING INSTASCAN API
instascan=$(ps auxf --sort=+utime | grep -w nc | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)
[[ $instascan ]] && killall nc && killall instascan_login.sh && ~/.zen/Astroport.ONE/tools/instascan_login.sh &
[[ ! $instascan ]] && ~/.zen/Astroport.ONE/tools/instascan_login.sh &
# git reset --hard
cd $MY_PATH
sleep $((1 + RANDOM % 3)) && git pull