Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user