]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/notes.rb
otrs: attempt workaround for otrs daemon writes
[chef.git] / cookbooks / planet / recipes / notes.rb
index 1ca5f323bc09b92fe87b866a1e380d614ca04cfe..e6329708190daa8201c81069a73dbbb2eade7f37 100644 (file)
@@ -57,6 +57,8 @@ systemd_service "planet-notes-dump" do
   exec_start "/usr/local/bin/planet-notes-dump"
   user "planet"
   sandbox :enable_network => true
   exec_start "/usr/local/bin/planet-notes-dump"
   user "planet"
   sandbox :enable_network => true
+  protect_home "tmpfs"
+  bind_paths "/home/planet"
   read_write_paths "/store/planet/notes"
 end
 
   read_write_paths "/store/planet/notes"
 end