]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/recipes/default.rb
Use default sandboxing for the dns-check service
[chef.git] / cookbooks / dns / recipes / default.rb
index 1cc1b1e84df079381bdf430339ca6f5560a2c726..856dcfcb002072f3d8592b29d81905a3d3ac2004 100644 (file)
@@ -174,12 +174,9 @@ systemd_service "dns-check" do
   description "Rebuild DNS zones with GeoDNS changes"
   exec_start "/usr/local/bin/dns-check"
   user "git"
-  private_tmp true
-  private_devices true
-  protect_system "strict"
-  protect_home true
+  sandbox :enable_network => true
+  proc_subset "all"
   read_write_paths "/var/lib/dns"
-  no_new_privileges true
 end
 
 systemd_timer "dns-check" do