Update nodemgmt-scripts.sh
This commit is contained in:
@@ -284,19 +284,19 @@ STATUS(){
|
|||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
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='5 minutes' +%s`
|
# timeout=`date --date='2 minutes' +%s`
|
||||||
else
|
# else
|
||||||
timeout=`date --date='20 seconds' +%s`
|
timeout=`date --date='20 seconds' +%s`
|
||||||
fi
|
# fi
|
||||||
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
|
else
|
||||||
if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then
|
# if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then
|
||||||
timeout=`date --date='5 minutes' +%s`
|
# timeout=`date --date='5 minutes' +%s`
|
||||||
else
|
# else
|
||||||
timeout=`date --date='1 minutes' +%s`
|
timeout=`date --date='1 minutes' +%s`
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
checked=false
|
checked=false
|
||||||
|
|||||||
Reference in New Issue
Block a user