Create the hook subfolders too
This commit is contained in:
parent
20e0bb6983
commit
c3da352458
@ -29,12 +29,14 @@ else
|
||||
end
|
||||
end
|
||||
|
||||
directory "/etc/letsencrypt/renewal-hooks" do
|
||||
["deploy", "post", "pre"].each do |subdir|
|
||||
directory "/etc/letsencrypt/renewal-hooks/#{subdir}" do
|
||||
recursive true
|
||||
mode 0755
|
||||
owner "root"
|
||||
group "root"
|
||||
end
|
||||
end
|
||||
|
||||
file "/etc/letsencrypt/renewal-hooks/deploy/nginx" do
|
||||
content <<-EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user