]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/dump.rb
Drop private_devices for OTRS and planetdump that use exim
[chef.git] / cookbooks / planet / recipes / dump.rb
index fdc9c7c4635f7d214700a8e1dc44d5add8309416..c7737bdb84a23576c70dfe1e9069e105409911e2 100644 (file)
@@ -116,10 +116,9 @@ systemd_service "planetdump@" do
   exec_start "/usr/local/bin/planetdump %i"
   memory_max "64G"
   private_tmp true
-  private_devices true
-  protect_system "full"
+  protect_system "strict"
   protect_home true
-  read_write_paths "/var/log/exim4"
+  read_write_paths ["/var/log/exim4", "/var/spool/exim4"]
 end
 
 cron_d "planet-dump-mirror" do