]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/dump.rb
Allow AF_UNIX sockets for cgimap
[chef.git] / cookbooks / planet / recipes / dump.rb
index 5e236c6bb6d5037b736da3a91bd5506e171192f2..95c0a4a69cd13f26595fe1527c99465ef3a76a6c 100644 (file)
@@ -61,7 +61,7 @@ end
 git "/opt/planet-dump-ng" do
   action :sync
   repository "https://github.com/zerebubuth/planet-dump-ng.git"
-  revision "v1.2.4"
+  revision "v1.2.6"
   depth 1
   user "root"
   group "root"
@@ -116,9 +116,15 @@ systemd_service "planetdump@" do
   exec_start "/usr/local/bin/planetdump %i"
   memory_max "64G"
   private_tmp true
-  protect_system "full"
+  protect_system "strict"
   protect_home true
-  read_write_paths "/var/log/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