correct ssb-server freezing/ restart
This commit is contained in:
parent
b8025902d6
commit
78333587ef
|
@ -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 '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}')
|
kill -9 $(ps auxf --sort=+utime | grep -w 'oasis' | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
|
||||||
ssb-server start &
|
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
|
fi
|
||||||
########################################################################
|
########################################################################
|
||||||
# HELP DEVLT: Search "TODO" in code
|
# HELP DEVLT: Search "TODO" in code
|
||||||
|
|
Loading…
Reference in New Issue