X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/111155132a3e59d63cd3f8c0e1bbf71905c06051..cf163679e4cf9c867cde63fe724ba3e578660d0a:/cookbooks/dev/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index db2057372..9ad37bfc9 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -294,7 +294,7 @@ if node[:postgresql][:clusters][:"14/main"] private_devices true protect_system "strict" protect_home true - read_write_directories "/srv/%i.apis.dev.openstreetmap.org/logs" + read_write_paths "/srv/%i.apis.dev.openstreetmap.org/logs" no_new_privileges true end @@ -309,7 +309,7 @@ if node[:postgresql][:clusters][:"14/main"] private_devices true protect_system "strict" protect_home true - read_write_directories ["/srv/%i.apis.dev.openstreetmap.org/logs", "/srv/%i.apis.dev.openstreetmap.org/rails/tmp"] + read_write_paths ["/srv/%i.apis.dev.openstreetmap.org/logs", "/srv/%i.apis.dev.openstreetmap.org/rails/tmp"] no_new_privileges true restart "on-failure" end