]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/replication.rb
Fix access to AWS credentials for planet services
[chef.git] / cookbooks / planet / recipes / replication.rb
index 0a25ad959bc44cc9756f5c0fbfd477543b8eed3c..e0a3bcc7e7c6a815dba9d250fa92a9716b9f681a 100644 (file)
@@ -207,8 +207,9 @@ systemd_service "replication-changesets" do
   user "planet"
   exec_start "/usr/local/bin/replicate-changesets /etc/replication/changesets.conf"
   sandbox :enable_network => true
+  protect_home "tmpfs"
+  bind_paths "/home/planet"
   read_write_paths [
-    "/home/planet/.aws",
     "/run/replication",
     "/store/planet/replication/changesets"
   ]