From 82f5a7821b42f0f583a0a343fabeae8af5e76715 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 8 Feb 2019 00:45:57 -0600 Subject: [PATCH] v3 --- defaults.inc | 4 ++-- nodemgmt-scripts.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index 5235ee95..69646484 100755 --- a/defaults.inc +++ b/defaults.inc @@ -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 diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c19237a6..c3f965c2 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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