Move the nginx hook to the deploy directory, create renewal-hooks dir
This commit is contained in:
parent
f50f48b55b
commit
c3135402ad
@ -15,7 +15,14 @@ end
|
||||
|
||||
package "certbot"
|
||||
|
||||
file "/etc/letsencrypt/renewal-hooks/post/nginx" do
|
||||
directory "/etc/letsencrypt/renewal-hooks" do
|
||||
recursive true
|
||||
mode 0755
|
||||
owner "root"
|
||||
group "root"
|
||||
end
|
||||
|
||||
file "/etc/letsencrypt/renewal-hooks/deploy/nginx" do
|
||||
content <<-EOF
|
||||
#!/usr/bin/env bash
|
||||
# Reloading nginx is enough to read the new certificates
|
||||
|
Loading…
x
Reference in New Issue
Block a user