From: Tom Hughes Date: Tue, 4 Apr 2023 13:34:23 +0000 (+0100) Subject: Allow job runners on dev to write to the activestorage directory X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/197938971d3d7db631c4d59f5325f597d4fb834f?ds=sidebyside;hp=d5d78aa42c55fcf94c90655a19030bb7da65eeda Allow job runners on dev to write to the activestorage directory --- diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 4874dc66a..3c02066db 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -298,7 +298,10 @@ if node[:postgresql][:clusters][:"15/main"] sandbox :enable_network => true restrict_address_families "AF_UNIX" memory_deny_write_execute false - read_write_paths "/srv/%i.apis.dev.openstreetmap.org/logs" + read_write_paths [ + "/srv/%i.apis.dev.openstreetmap.org/logs", + "/srv/%i.apis.dev.openstreetmap.org/storage" + ] end systemd_service "cgimap@" do