]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geodns/recipes/default.rb
Use default sandboxing for the gdnsd-reload service
[chef.git] / cookbooks / geodns / recipes / default.rb
index 3a166262c0e5669a297f7b2023df57be7462a2a9..8afa85cc550e909e8b9372686b39640c56f38bf5 100644 (file)
@@ -74,11 +74,8 @@ systemd_service "gdnsd-reload" do
   user "root"
   exec_start "/bin/systemctl reload-or-restart gdnsd"
   standard_output "null"
-  private_tmp true
-  private_devices true
-  protect_system "strict"
-  protect_home true
-  no_new_privileges true
+  sandbox true
+  restrict_address_families "AF_UNIX"
 end
 
 systemd_path "gdnsd-reload" do