diff --git a/inc/certs.inc b/inc/certs.inc index a7fcd803..f84626ed 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -66,7 +66,7 @@ NEWCERT(){ echo -e "${idsCL[Green]}Completed${idsCL[Default]}" echo - SERVICE nginx reload + SERVICE nginx restart fi fi echo @@ -155,7 +155,7 @@ CERTRENEW(){ ssh root@webserver-node2.scity.us service nginx start echo -e "${idsCL[LightGreen]} Completed${idsCL[Default]}" echo - SERVICE nginx reload 2>&1 | tee -a ${FOLDER}/cert-renewal.lastrun + SERVICE nginx restart 2>&1 | tee -a ${FOLDER}/cert-renewal.lastrun echo -e "${idsCL[LightGreen]}The certificates have been renewed.${idsCL[Default]}" echo "" if [ -z $action ] || [ "${action}" = "gui" ]; then