diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 679d0cd4..b4e2b061 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -284,7 +284,11 @@ STATUS(){ if [ "${ST_ACTION}" != "check" ]; then c=0; cw=22; spc='' spc1=${cw}-${#REPL_DESC[${rcheck}]} - timeout=`date --date='20 seconds' +%s` + if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then + timeout=`date --date='2 minutes' +%s` + else + timeout=`date --date='20 seconds' +%s` + fi until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${REPL_DESC[${rcheck}]}${spc}: " else @@ -293,8 +297,11 @@ STATUS(){ else timeout=`date --date='1 minutes' +%s` fi - echo "TIMEOUT: ${rcheck} - ${timeout}" + fi + + echo "TIMEOUT: ${rcheck} - ${timeout}" + checked=false until [ "${checked}" = "" ]; do if [ "${PH_CMD}" = "" ]; then