diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index e374d7a2..a8832f15 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -50,13 +50,11 @@ case "$1" in ;; newcert) - "$0" service haproxy stop echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${2}${idsCL[LightGreen]}'...${idsCL[Default]}" # $DAEMON certonly --standalone -d $2 $CERT_DAEMON certonly --webroot -w /var/www/html -d $2 # chown -R root:letsencrypt /etc/letsencrypt # chmod -R 6775 /etc/letsencrypt - "$0" service haproxy start echo -e "${idsCL[LightGreen]}Waiting for Certificate Replication...${idsCL[Default]}" sleep 20 "$0" service nginx reload