]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/gps-tile/recipes/default.rb
Tweak some tile sandboxes
[chef.git] / cookbooks / gps-tile / recipes / default.rb
index bc4e4c6373da5bb7dc379014946871ffa198ce89..d71d04ade74c74d8c7eb9fc19ca5e777e3b22db7 100644 (file)
@@ -94,12 +94,8 @@ systemd_service "gps-update" do
   working_directory "/srv/gps-tile.openstreetmap.org"
   exec_start "/srv/gps-tile.openstreetmap.org/updater/update"
   nice 10
-  private_tmp true
-  private_devices true
-  protect_system "strict"
-  protect_home true
-  read_write_directories "/srv/gps-tile.openstreetmap.org"
-  no_new_privileges true
+  sandbox :enable_network => true
+  read_write_paths "/srv/gps-tile.openstreetmap.org"
   restart "on-failure"
 end