]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/letsencrypt/files/default/bin/renew-hook
Add alert for DNSSEC validation failures
[chef.git] / cookbooks / letsencrypt / files / default / bin / renew-hook
index 8eacf355357e793a30575e2f363abf4d627c0c2a..13ad5fdc025e09b02fbaf4ab697c1d7b8b9c247b 100755 (executable)
@@ -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"