Make renew-hook send knife upload output to STDOUT
[chef.git] / cookbooks / letsencrypt / files / default / bin / renew-hook
1 #!/bin/bash
2
3 domains=($RENEWED_DOMAINS)
4
5 exec 2>&1
6
7 exec /srv/acme.openstreetmap.org/bin/upload "${domains[0]}" "$RENEWED_LINEAGE"