]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/letsencrypt/files/default/bin/renew
nginx: ensure follow-up run output no errors
[chef.git] / cookbooks / letsencrypt / files / default / bin / renew
index d5b7232bf84b1b27380e9b3bd1822502d803faf4..6a04821852ed1f195cb509dcc6440e9ca1bc11ed 100755 (executable)
@@ -1,8 +1,10 @@
 #!/bin/sh
 
+cd /srv/acme.openstreetmap.org
+
 /usr/bin/certbot renew \
     --quiet \
     --config-dir /srv/acme.openstreetmap.org/config \
     --work-dir /srv/acme.openstreetmap.org/work \
     --logs-dir /srv/acme.openstreetmap.org/logs \
-    --renew-hook /srv/acme.openstreetmap.org/renew-hook
+    --renew-hook /srv/acme.openstreetmap.org/bin/renew-hook