Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-25 16:39:40 -05:00
parent 157fa9f48e
commit f57a059e93

View File

@@ -763,7 +763,13 @@ NEWCERT(){
done
rm -f /opt/lb-data/letsencrypt/live/${MAIN_CERT}/newcert
echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
SERVICE nginx reload
echo
echo -e -n "${idsCL[LightCyan]}Reload NGINX on LB Nodes (Y/n): ${idsCL[Default]}"
read NGINXRELOAD
showdivide=yes
[[ ${NGINXRELOAD} =~ ^[Nn]$ ]] && tmp='' || SERVICE nginx reload
fi
echo
echo -e "${idsCL[Green]}Certificate has been successfully created for '${idsCL[Yellow]}${NEW_CERT}${idsCL[Green]}'...${idsCL[Default]}"