]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/gps-tile/recipes/default.rb
Allow AF_UNIX sockets for cgimap
[chef.git] / cookbooks / gps-tile / recipes / default.rb
index f4db96412858f51cc9530bd1be535ae0a03c5180..d71d04ade74c74d8c7eb9fc19ca5e777e3b22db7 100644 (file)
@@ -94,11 +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 "full"
-  protect_home true
-  no_new_privileges true
+  sandbox :enable_network => true
+  read_write_paths "/srv/gps-tile.openstreetmap.org"
   restart "on-failure"
 end