From 659d10f65cfbe98953035f4712386f03e363d115 Mon Sep 17 00:00:00 2001 From: crowetic Date: Sat, 11 May 2024 19:00:36 -0700 Subject: [PATCH] small fixes - script now includes height checks and more. --- auto-fix-qortal.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/auto-fix-qortal.sh b/auto-fix-qortal.sh index eb74250..a3b234b 100755 --- a/auto-fix-qortal.sh +++ b/auto-fix-qortal.sh @@ -90,11 +90,12 @@ fi } force_bootstrap() { -echo "${RED} height checks revealed issues, forcing bootstrap... ${NC}\n" +echo "${RED} height check found issues, forcing bootstrap... ${NC}\n" cd qortal killall -9 java sleep 3 rm -rf db log.t* qortal.log run.log run.pid +sleep 5 ./start.sh cd update_script @@ -244,7 +245,7 @@ if [ -n ${previous_local_height} ]; then sleep 2 if [ "${checked_height}" = "${previous_local_height}" ]; then echo "${RED} block height still has not changed... forcing bootstrap... ${NC}\n" - #force_bootstrap + force_bootstrap fi fi