From 78333587ef5059e6743ce6c430934c91ebf2fcc3 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sat, 6 Jun 2020 14:43:18 +0200 Subject: [PATCH] correct ssb-server freezing/ restart --- cron_MINUTE.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 85852b3..efcf2d0 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -25,9 +25,6 @@ if [[ "$WHOAMI" == "" ]]; then 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 'oasis' | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}') ssb-server start & - sleep 10 - export WHOAMI=$($MY_PATH/zen/tools/timeout.sh -t 3 sbotc whoami | jq -r .id) || er+=" sbotc whoami problem" # HAPPENS WHEN no ssb-server / patchork runs - [[ "$WHOAMI" == "" ]] && echo "ERROR! SSB LAYER NOT ACCESSIBLE" && exit 1 fi ######################################################################## # HELP DEVLT: Search "TODO" in code