Update nodemgmt-scripts.sh

This commit is contained in:
2022-11-12 16:25:33 -06:00
parent 2a77b1e630
commit 78fdc34941

View File

@@ -226,7 +226,7 @@ STATUS(){
fi
if [ "${STATUS_CHECK_EMAIL}" != "" ]; then echo "${NM_SERVICES[${srvc}]} is back UP! It was down for $(SHOW_TIME ${toterrtime})" | mail -s "${NM_NODETYPES[$NTYPE]}-Node${nid}-${nip}" ${STATUS_CHECK_EMAIL}; fi
if [ "${srvc}" == "pdnsadmin" ] || [ "${srvc}" == "gitea" ]; then
if [ "${srvc}" == "pdnsadmin.socket" ] || [ "${srvc}" == "pdnsadmin" ] || [ "${srvc}" == "gitea" ]; then
rm -f ${FOLDER}/*-${srvc}.down
rm -f ${FOLDER}/*-${srvc}.errtime
else