X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/111155132a3e59d63cd3f8c0e1bbf71905c06051..265658e454497081b48c3f28772a7c3a091d5579:/cookbooks/dev/recipes/default.rb 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