From 0a359867880a42fa53e85329d1ef7f4fbf9b9712 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 8 Nov 2022 23:07:25 +0000 Subject: [PATCH] Add some extra writable paths for planetdump --- cookbooks/planet/recipes/dump.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cookbooks/planet/recipes/dump.rb b/cookbooks/planet/recipes/dump.rb index c7737bdb8..95c0a4a69 100644 --- a/cookbooks/planet/recipes/dump.rb +++ b/cookbooks/planet/recipes/dump.rb @@ -118,7 +118,13 @@ systemd_service "planetdump@" do private_tmp true protect_system "strict" protect_home true - read_write_paths ["/var/log/exim4", "/var/spool/exim4"] + read_write_paths [ + "/store/planetdump", + "/store/planet/pbf", + "/store/planet/planet", + "/var/log/exim4", + "/var/spool/exim4" + ] end cron_d "planet-dump-mirror" do -- 2.39.5