From 52546b641fd4221c9642add187d5a08e3d1fee28 Mon Sep 17 00:00:00 2001 From: qo-op Date: Fri, 12 Jun 2020 00:49:57 +0200 Subject: [PATCH] ssb-server while true; do ssb-server start; sleep 3; done --- cron_MINUTE.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index bf74b17..7a3118e 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -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 ########################################################################