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:
@@ -4,7 +4,7 @@
|
|||||||
if [ -z "$WEBROOT" ] || [ -z "$GIT_EMAIL" ] || [ -z "$DOMAIN" ]; then
|
if [ -z "$WEBROOT" ] || [ -z "$GIT_EMAIL" ] || [ -z "$DOMAIN" ]; then
|
||||||
echo "You need the \$WEBROOT, \$GIT_EMAIL and the \$DOMAIN Variables"
|
echo "You need the \$WEBROOT, \$GIT_EMAIL and the \$DOMAIN Variables"
|
||||||
else
|
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/
|
ln -s /etc/nginx/sites-available/default-ssl.conf /etc/nginx/sites-enabled/
|
||||||
|
|
||||||
# change nginx for webroot and domain name
|
# change nginx for webroot and domain name
|
||||||
|
|||||||
Reference in New Issue
Block a user