ssb-server

while true; do   ssb-server start;   sleep 3; done
This commit is contained in:
qo-op 2020-06-12 00:49:57 +02:00
parent cb9f38b801
commit 52546b641f
1 changed files with 3 additions and 3 deletions

View File

@ -22,10 +22,10 @@ export WHOAMI=$($MY_PATH/zen/tools/timeout.sh -t 3 sbotc whoami | jq -r .id)
if [[ "$WHOAMI" == "" ]]; then
### oasis ssb-server not responding!!!
echo "sboc <-> SSB-SERVER IMPOSSIBLE..."
# kill -9 $(ps auxf --sort=+utime | grep -w 'ssb-server' | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
kill -9 $(ps auxf --sort=+utime | grep -w 'ssb-server' | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
# while true; do ssb-server start; sleep 3; done
# kill -9 $(ps auxf --sort=+utime | grep -w 'oasis' | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
# ssb-server start &
# sleep 22
# oasis --allow-host oasis.astroport.com --host oasis.astroport.com &
fi
########################################################################