Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20845ac9 authored by Felix's avatar Felix
Browse files

Add mail and agree-tos parameters for mail certificate renewal

parent 948ef6dd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@ cat "$CONFIG" | while read DOMAIN; do
            --config-dir="$CONFIG_DIR"
    else
        CERT_UPDATED_FILE="$LIVE_DIR/$DOMAIN/cert-updated"
        certbot certonly -d "$DOMAIN" --non-interactive --webroot \
            --webroot-path='/mnt/repo-base/config-dynamic/letsencrypt/acme-challenge/' \
        certbot certonly -d "$DOMAIN" --non-interactive -m "$ALT_EMAIL" --agree-tos \
            --webroot --webroot-path='/mnt/repo-base/config-dynamic/letsencrypt/acme-challenge/' \
            --config-dir="$CONFIG_DIR" \
            --deploy-hook "touch $CERT_UPDATED_FILE"
        # add the following parameters to test renewal (will install invalid certificates)