Update certs.inc
This commit is contained in:
@@ -66,7 +66,7 @@ NEWCERT(){
|
|||||||
echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
SERVICE nginx reload
|
SERVICE nginx restart
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
@@ -155,7 +155,7 @@ CERTRENEW(){
|
|||||||
ssh root@webserver-node2.scity.us service nginx start
|
ssh root@webserver-node2.scity.us service nginx start
|
||||||
echo -e "${idsCL[LightGreen]} Completed${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]} Completed${idsCL[Default]}"
|
||||||
echo
|
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 -e "${idsCL[LightGreen]}The certificates have been renewed.${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user