This commit is contained in:
2025-07-05 19:18:57 -05:00
parent de51866474
commit 015a0405f1
2 changed files with 2 additions and 2 deletions

View File

@@ -682,7 +682,7 @@ COPYCERTS(){
scp le@keepalived.scity.us:/etc/letsencrypt/live/${CERTSITE}/* ${COPYTO}/ >/dev/null 2>&1
rm -f ${COPYTO}/privkey.pem.md5 >/dev/null 2>&1
md5sum ${COPYTO}/privkey.pem > ${COPYTO}/privkey.pem.md5
# RUN_POST_COMMANDS=true
RUN_POST_COMMANDS=true
touch ${NM_LOGFOLDER}/copycerts.lastrun
echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}"
else

View File

@@ -170,7 +170,7 @@ SERVICE_MGMT(){
echo "NODETYPE=${SERVICE['nodetype']}"
echo "QUIET=${QUIET}"
if [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" ] && [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" != "ALL" ]; then
if [ ! "${NM_SERVICE_DESC[${SERVICE['service']}]}" ] && [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" != "ALL" ]; then
echo -e "${idsCL[Red]}"${SERVICE['service']}" is an unknown Service.${idsCL[Default]}"
exit 1
fi