From 7f30e656254ca5d846d940488cc0110cf27c7a03 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Nov 2023 21:41:03 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 18b94c25..8f936179 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -108,7 +108,7 @@ STATUS(){ fi else if [ "${ST_ACTION}" != "check" ]; then - echo -e "${idsST[Bold]}${idsCL[Green]}Running${idsCL[Default]}${idsST[Reset]}" + echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" fi if [ -f ${NM_TMPFOLDER}/${NODE_HOSTNAME}~${srvc}.down ]; then if [ -f ${NM_TMPFOLDER}/${NODE_HOSTNAME}~${srvc}.errtime ]; then @@ -262,7 +262,7 @@ STATUS(){ [ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Not running for $(SHOW_TIME ${toterrtime})${idsCL[Default]}" fi else - [ "${ST_ACTION}" != "check" ] && echo -e "${idsST[Bold]}${idsCL[Green]}Running${idsCL[Default]}${idsST[Reset]}" + [ "${ST_ACTION}" != "check" ] && echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" if [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.down ]; then [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.errtime ] && toterrtime=`date +%s`-$(stat -c %Y ${NM_TMPFOLDER}/${nip}~${srvc}.errtime) || toterrtime=`date +%s`-$(stat -c %Y ${NM_TMPFOLDER}/${nip}~${srvc}.down) SENDNOTICE "${NM_HOSTNAMES[${nip}]}[${nip}]" "${NM_SERVICE_DESC[${srvc}]} is back UP! It was down for $(SHOW_TIME ${toterrtime})" @@ -334,7 +334,7 @@ STATUS(){ # fi # else # if [ "${ST_ACTION}" != "check" ]; then - # echo -e "${idsST[Bold]}${idsCL[Green]}Running${idsCL[Default]}${idsST[Reset]}" + # echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" # fi # if [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.down ]; then # if [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.errtime ]; then @@ -431,7 +431,7 @@ STATUS(){ fi else if [ "${ST_ACTION}" != "check" ]; then - echo -e "${idsST[Bold]}${idsCL[Green]}Running${idsCL[Default]}${idsST[Reset]}" + echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" fi rm -f ${NM_TMPFOLDER}/${nip}~${docker}.* fi