Added --quiet to certbot command.

certbot command was failing for me. Added --quiet per https://github.com/certbot/certbot/issues/3657
This commit is contained in:
mattclarkpgh
2017-01-03 14:48:01 -05:00
committed by GitHub
parent 497eaecc14
commit 2773c3479f

View File

@@ -4,7 +4,7 @@
if [ -z "$WEBROOT" ] || [ -z "$GIT_EMAIL" ] || [ -z "$DOMAIN" ]; then
echo "You need the \$WEBROOT, \$GIT_EMAIL and the \$DOMAIN Variables"
else
certbot certonly --webroot -w $WEBROOT -d $DOMAIN --email $GIT_EMAIL --agree-tos
certbot certonly --webroot -w $WEBROOT -d $DOMAIN --email $GIT_EMAIL --agree-tos --quiet
ln -s /etc/nginx/sites-available/default-ssl.conf /etc/nginx/sites-enabled/
# change nginx for webroot and domain name