]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/letsencrypt/files/default/bin/renew-hook
planet: only rate limit files else apache segfault
[chef.git] / cookbooks / letsencrypt / files / default / bin / renew-hook
index 26bf656b83a73c899926483dfb5f0b787b3e6379..b7c7af196aebf442ba701868a5cc1b2146b33065 100755 (executable)
@@ -1,5 +1,7 @@
-#!/bin/sh
+#!/bin/bash
 
 domains=($RENEWED_DOMAINS)
 
 
 domains=($RENEWED_DOMAINS)
 
+exec 2>&1
+
 exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE"
 exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE"