]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/site.rb
supybot: update osmf-server-info urls
[chef.git] / cookbooks / imagery / resources / site.rb
index b5d50ee349bf992ae1eb93446972ebbd4336b499..4fca7bb9ad770061c9653e9818800f8ff51ab27b 100644 (file)
@@ -113,12 +113,8 @@ action :create do
     group "imagery"
     exec_start "/usr/bin/multiwatch -f 8 --signal=TERM -- /usr/lib/cgi-bin/mapserv"
     standard_input "socket"
     group "imagery"
     exec_start "/usr/bin/multiwatch -f 8 --signal=TERM -- /usr/lib/cgi-bin/mapserv"
     standard_input "socket"
-    private_tmp true
-    private_devices true
-    private_network true
-    protect_system "full"
-    protect_home true
-    no_new_privileges true
+    sandbox true
+    restrict_address_families "AF_UNIX"
     # Terminate service after 30mins. Service is socket activated
     runtime_max_sec 1800
   end
     # Terminate service after 30mins. Service is socket activated
     runtime_max_sec 1800
   end