]> git.openstreetmap.org Git - chef.git/commitdiff
Make renew-hook send knife upload output to STDOUT
authorTom Hughes <tom@compton.nu>
Sat, 15 Apr 2017 09:48:53 +0000 (10:48 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 15 Apr 2017 09:48:53 +0000 (10:48 +0100)
cookbooks/letsencrypt/files/default/bin/renew-hook

index 8eacf355357e793a30575e2f363abf4d627c0c2a..b7c7af196aebf442ba701868a5cc1b2146b33065 100755 (executable)
@@ -2,4 +2,6 @@
 
 domains=($RENEWED_DOMAINS)
 
+exec 2>&1
+
 exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE"