]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/letsencrypt/files/default/bin/renew-hook
mediawiki: add apache request duration logging
[chef.git] / cookbooks / letsencrypt / files / default / bin / renew-hook
index 26bf656b83a73c899926483dfb5f0b787b3e6379..13ad5fdc025e09b02fbaf4ab697c1d7b8b9c247b 100755 (executable)
@@ -1,5 +1,5 @@
-#!/bin/sh
+#!/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"