Update nodemgmt-scripts.sh

This commit is contained in:
2019-11-24 15:54:52 -06:00
parent 2ccc6255bf
commit b51dba9ce8

View File

@@ -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