Run letsencrypt renewals in acme directory
authorTom Hughes <tom@compton.nu>
Thu, 13 Apr 2017 12:35:33 +0000 (13:35 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 13 Apr 2017 12:35:33 +0000 (13:35 +0100)
This makes sure the upload can see the right knife configuration.

cookbooks/letsencrypt/files/default/bin/renew

index 6b6018fb0642e251aa3b835a285b8c10b946c56a..6a04821852ed1f195cb509dcc6440e9ca1bc11ed 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
 #!/bin/sh
 
+cd /srv/acme.openstreetmap.org
+
 /usr/bin/certbot renew \
     --quiet \
     --config-dir /srv/acme.openstreetmap.org/config \
 /usr/bin/certbot renew \
     --quiet \
     --config-dir /srv/acme.openstreetmap.org/config \