Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-03 22:14:10 -06:00
parent 8afbf41d04
commit a0652841ab

View File

@@ -170,7 +170,7 @@ NEWSITE(){
if [ ! -z ${PROXYSCHEME+x} ] && [ ! -z ${PROXYHOST+x} ] && [ ! -z ${PROXYPORT+x} ]; then GO=true; fi if [ ! -z ${PROXYSCHEME+x} ] && [ ! -z ${PROXYHOST+x} ] && [ ! -z ${PROXYPORT+x} ]; then GO=true; fi
else GO=true; fi else GO=true; fi
if [ "${GO}" = "true" ]; then if [ "${GO}" = "true" ]; then
echo -e "${idsCL[LightGreen]}Setting up new site for '${idsCL[Yellow]}${MAIN_SITE}${idsCL[LightGreen]}' {${NGINX_SERVERNAM}}...${idsCL[Default]}" echo -e "${idsCL[LightGreen]}Setting up new site for '${idsCL[Yellow]}${MAIN_SITE}${idsCL[LightGreen]}' {${NGINX_SERVERNAME}}...${idsCL[Default]}"
echo "" echo ""
if [ "${SITE_TYPE}" = "local" ]; then if [ "${SITE_TYPE}" = "local" ]; then
echo -e "server { echo -e "server {
@@ -452,7 +452,7 @@ if [ ${action-x} ]; then
certrenew) CERTRENEW;; certrenew) CERTRENEW;;
nightlyrenew) NIGHTLYRENEW;; nightlyrenew) NIGHTLYRENEW;;
delsite) DELSITE;; delsite) DELSITE;;
newsite) NEWSITE ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};; newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};;
update) ;; update) ;;
status) STATUS;; status) STATUS;;
status-check) STATUS-CHECK;; status-check) STATUS-CHECK;;