]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/notes.rb
allow a different source URL for python packages
[chef.git] / cookbooks / planet / recipes / notes.rb
index f3c91a3e021280db19705cd4091f1ba835b74925..e6329708190daa8201c81069a73dbbb2eade7f37 100644 (file)
@@ -57,7 +57,9 @@ 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
-  read_write_paths ["/store/planet/notes", "/home/planet/.aws"]
+  protect_home "tmpfs"
+  bind_paths "/home/planet"
+  read_write_paths "/store/planet/notes"
 end
 
 systemd_timer "planet-notes-dump" do
 end
 
 systemd_timer "planet-notes-dump" do