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