]> git.openstreetmap.org Git - chef.git/blob - cookbooks/letsencrypt/templates/default/request.erb
Make sure dnscontrol is on the path in DNS update scripts
[chef.git] / cookbooks / letsencrypt / templates / default / request.erb
1 #!/bin/sh
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 /usr/bin/certbot certonly \
6     --non-interactive \
7     --config-dir /srv/acme.openstreetmap.org/config \
8     --work-dir /srv/acme.openstreetmap.org/work \
9     --logs-dir /srv/acme.openstreetmap.org/logs \
10     --email operations@osmfoundation.org \
11     --agree-tos \
12     --expand \
13 <% @domains.each do |domain| -%>
14     --domain <%= domain %> \
15 <% end -%>
16     --webroot \
17     --webroot-path /srv/acme.openstreetmap.org/html
18
19 /srv/acme.openstreetmap.org/bin/upload \
20     <%= @domains.first %> \
21     /srv/acme.openstreetmap.org/config/live/<%= @domains.first %>