Update nodemgmt-scripts.sh

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

View File

@@ -287,9 +287,14 @@ STATUS(){
timeout=`date --date='20 seconds' +%s` timeout=`date --date='20 seconds' +%s`
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en " ${REPL_DESC[${rcheck}]}${spc}: " echo -en " ${REPL_DESC[${rcheck}]}${spc}: "
else
if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then
timeout=`date --date='2 minutes' +%s`
else else
timeout=`date --date='1 minutes' +%s` timeout=`date --date='1 minutes' +%s`
fi fi
echo "TIMEOUT: ${rcheck} - ${timeout}"
fi
checked=false checked=false
until [ "${checked}" = "" ]; do until [ "${checked}" = "" ]; do
if [ "${PH_CMD}" = "" ]; then if [ "${PH_CMD}" = "" ]; then