]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilelog/recipes/default.rb
Copy tile logs to S3
[chef.git] / cookbooks / tilelog / recipes / default.rb
index 2722c4f32f61b6efe762c517a0e1e70a7845cf27..9370225150ec2f748ae8686174c6fdec409436e5 100644 (file)
@@ -18,6 +18,7 @@
 #
 
 include_recipe "accounts"
+include_recipe "planet::aws"
 include_recipe "python"
 
 passwords = data_bag_item("tilelog", "passwords")
@@ -57,6 +58,8 @@ systemd_service "tilelog" do
   exec_start "/usr/local/bin/tilelog"
   nice 10
   sandbox :enable_network => true
+  protect_home "tmpfs"
+  bind_paths "/home/planet"
   read_write_paths tilelog_output_directory
 end