update
This commit is contained in:
@@ -86,7 +86,13 @@ NEWCERT(){
|
||||
sed -i "s/#include conf.d\/include\/force-ssl.conf/include conf.d\/include\/force-ssl.conf/g" ${NM_NGINXPATH}/sites-available/${MAIN_CERT}.conf
|
||||
DIVIDER true
|
||||
|
||||
[ ${NONGINXRESTART} -eq 0 ] && SERVICE_MGMT nginx restart
|
||||
if [ ${NONGINXRESTART} -eq 0 ]; then
|
||||
if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then
|
||||
SERVICE_MGMT nginx restart
|
||||
else
|
||||
/bin/systemctl restart nginx
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo
|
||||
echo -e "${idsCL[Green]}Certificate has been successfully created for '${idsCL[Yellow]}${NEW_CERT}${idsCL[Green]}'...${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user