]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geoipupdate/recipes/default.rb
Use default sandboxing for the geoipupdate service
[chef.git] / cookbooks / geoipupdate / recipes / default.rb
index c11b451dc4645f28d3d12198e5ba2358ca71ec87..17fcc0850df25501496635a42046430b85a8711f 100644 (file)
@@ -42,12 +42,8 @@ systemd_service "geoipupdate" do
   description "Update GeoIP databases"
   user "root"
   exec_start "/usr/bin/geoipupdate"
-  private_tmp true
-  private_devices true
-  protect_system "strict"
-  protect_home true
+  sandbox :enable_network => true
   read_write_paths node[:geoipupdate][:directory]
-  no_new_privileges true
 end
 
 systemd_timer "geoipupdate" do