diff --git a/scripts/certbot-renew-crontab.sh b/scripts/certbot-renew-crontab.sh index 3186afb..29d0a7d 100755 --- a/scripts/certbot-renew-crontab.sh +++ b/scripts/certbot-renew-crontab.sh @@ -5,7 +5,7 @@ CERTIFICATE="/etc/letsencrypt/live/$POSTFIX_FQDN/fullchain.pem" PRIVATE_KEY="/etc/letsencrypt/live/$POSTFIX_FQDN/privkey.pem" if [ -f $CERTIFICATE -a -f $PRIVATE_KEY ]; then - certbot -n renew + certbot -q renew else - certbot -n certonly + certbot -q certonly fi diff --git a/templates/certbot/cli.ini b/templates/certbot/cli.ini index 0315b5f..e1bdfde 100644 --- a/templates/certbot/cli.ini +++ b/templates/certbot/cli.ini @@ -1,4 +1,4 @@ -domain = {{ env['POSTFIX_FQDN'] }} +domains = {{ env['POSTFIX_FQDN'] }} email = {{ env['LETSENCRYPT_EMAIL'] }} authenticator = standalone