Disable IPv6 support in squid on machines with no IPv6
[chef.git] / cookbooks / systemd / templates / default / service.erb
index 9620d1c8d2760526cde080a417617db69bc6c90e..ed117c24e51932c849cce0ed0c0ea42792c4798c 100644 (file)
@@ -93,6 +93,9 @@ ProtectSystem=<%= @protect_system %>
 <% if @protect_home -%>
 ProtectHome=<%= @protect_home %>
 <% end -%>
+<% if @restrict_address_families -%>
+RestrictAddressFamilies=<%= Array(@restrict_address_families).join(" ") %>
+<% end -%>
 <% if @no_new_privileges -%>
 NoNewPrivileges=<%= @no_new_privileges %>
 <% end -%>