From b51dba9ce8247fcee53d7d6da88327b32ddb2a42 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Nov 2019 15:54:52 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index aed2d6c1..679d0cd4 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -288,7 +288,12 @@ STATUS(){ until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${REPL_DESC[${rcheck}]}${spc}: " else - timeout=`date --date='1 minutes' +%s` + if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then + timeout=`date --date='2 minutes' +%s` + else + timeout=`date --date='1 minutes' +%s` + fi + echo "TIMEOUT: ${rcheck} - ${timeout}" fi checked=false until [ "${checked}" = "" ]; do