X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8537492026e315644bea0b5947924f29a51ebe4c..6cb136106f269be48766922cb8a6271a73bfe94d:/cookbooks/letsencrypt/files/default/bin/renew-hook?ds=sidebyside diff --git a/cookbooks/letsencrypt/files/default/bin/renew-hook b/cookbooks/letsencrypt/files/default/bin/renew-hook index b7c7af196..13ad5fdc0 100755 --- a/cookbooks/letsencrypt/files/default/bin/renew-hook +++ b/cookbooks/letsencrypt/files/default/bin/renew-hook @@ -1,7 +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"