From f57a059e9369981c400c2a9add531c15fbe0d9da Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 25 Apr 2023 16:39:40 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 7e7119a7..4a9f6c85 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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]}"