]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/letsencrypt/files/default/bin/renew-hook
Make renew-hook send knife upload output to STDOUT
[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)
 
+exec 2>&1
+
 exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE"