X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ce1ed6e77548edcd3172feb0ecff5f7858d72877..b7c12630cb9de017d76fe60ff296534d6d061399:/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 8eacf3553..13ad5fdc0 100755 --- a/cookbooks/letsencrypt/files/default/bin/renew-hook +++ b/cookbooks/letsencrypt/files/default/bin/renew-hook @@ -1,5 +1,5 @@ #!/bin/bash -domains=($RENEWED_DOMAINS) +exec 2>&1 -exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE" +exec /srv/acme.openstreetmap.org/bin/upload "$(basename $RENEWED_LINEAGE)" "$RENEWED_LINEAGE"