v3
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='2.02072019'
|
||||
VERS='3.02082019'
|
||||
NODEHOSTS=10.5.10.51,10.5.10.52,10.5.10.53
|
||||
NODESERVICES=mysql,nginx,gitea,haproxy,keepalived,maxscale
|
||||
noheader=' service status-check nightlyrenew backup report check '
|
||||
CERT_DAEMON='/usr/bin/certbot'
|
||||
FOLDER=/opt/idssys/nodemgmt
|
||||
SCRIPT=${FOLDER}/nodemgmt-scripts.sh
|
||||
RENOTIFY=60
|
||||
RENOTIFY=900
|
||||
|
||||
declare -i errtime
|
||||
|
||||
|
||||
@@ -230,7 +230,7 @@ STATUS(){
|
||||
if [ "${ST_ACTION}" != "check" ]; then
|
||||
c=0; cw=22; spc=''
|
||||
spc1=${cw}-${#REPL_DESC[${rcheck}]}
|
||||
timeout=`date --date='10 seconds' +%s`
|
||||
timeout=`date --date='20 seconds' +%s`
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en " ${REPL_DESC[${rcheck}]}${spc}: "
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user