Update nodemgmt-scripts.sh
This commit is contained in:
@@ -285,7 +285,7 @@ STATUS(){
|
|||||||
c=0; cw=22; spc=''
|
c=0; cw=22; spc=''
|
||||||
spc1=${cw}-${#REPL_DESC[${rcheck}]}
|
spc1=${cw}-${#REPL_DESC[${rcheck}]}
|
||||||
if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then
|
if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then
|
||||||
timeout=`date --date='1 minutes' +%s`
|
timeout=`date --date='5 minutes' +%s`
|
||||||
else
|
else
|
||||||
timeout=`date --date='20 seconds' +%s`
|
timeout=`date --date='20 seconds' +%s`
|
||||||
fi
|
fi
|
||||||
@@ -293,7 +293,7 @@ STATUS(){
|
|||||||
echo -en " ${REPL_DESC[${rcheck}]}${spc}: "
|
echo -en " ${REPL_DESC[${rcheck}]}${spc}: "
|
||||||
else
|
else
|
||||||
if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then
|
if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then
|
||||||
timeout=`date --date='2 minutes' +%s`
|
timeout=`date --date='5 minutes' +%s`
|
||||||
else
|
else
|
||||||
timeout=`date --date='1 minutes' +%s`
|
timeout=`date --date='1 minutes' +%s`
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user