X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/77cd975164d60c089b6a42b2e9bd128c0e037025..4bef1d8c2a8513756683114959bd1c9e5de9b6f9:/cookbooks/letsencrypt/files/default/bin/renew-hook diff --git a/cookbooks/letsencrypt/files/default/bin/renew-hook b/cookbooks/letsencrypt/files/default/bin/renew-hook index 26bf656b8..b7c7af196 100755 --- a/cookbooks/letsencrypt/files/default/bin/renew-hook +++ b/cookbooks/letsencrypt/files/default/bin/renew-hook @@ -1,5 +1,7 @@ -#!/bin/sh +#!/bin/bash domains=($RENEWED_DOMAINS) +exec 2>&1 + exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE"