]> git.openstreetmap.org Git - chef.git/commitdiff
Add some extra writable paths for planetdump
authorTom Hughes <tom@compton.nu>
Tue, 8 Nov 2022 23:07:25 +0000 (23:07 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 8 Nov 2022 23:07:25 +0000 (23:07 +0000)
cookbooks/planet/recipes/dump.rb

index c7737bdb84a23576c70dfe1e9069e105409911e2..95c0a4a69cd13f26595fe1527c99465ef3a76a6c 100644 (file)
@@ -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