Update nodemgmt-scripts.sh

This commit is contained in:
2019-12-10 22:33:41 -06:00
parent e3574f7b20
commit 42cd1e7090

View File

@@ -285,7 +285,7 @@ STATUS(){
c=0; cw=22; spc=''
spc1=${cw}-${#REPL_DESC[${rcheck}]}
if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then
timeout=`date --date='1 minutes' +%s`
timeout=`date --date='5 minutes' +%s`
else
timeout=`date --date='20 seconds' +%s`
fi
@@ -293,7 +293,7 @@ STATUS(){
echo -en " ${REPL_DESC[${rcheck}]}${spc}: "
else
if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then
timeout=`date --date='2 minutes' +%s`
timeout=`date --date='5 minutes' +%s`
else
timeout=`date --date='1 minutes' +%s`
fi