X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/62d2dd6209eddec292fa35c2ce4a387c6450d6f7..88e01cf74c2e3d06e8e74238fdeab18b2a41773c:/cookbooks/systemd/templates/default/service.erb diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index a4ff29fa9..1172d0b96 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -145,6 +145,9 @@ NoNewPrivileges=<%= @no_new_privileges %> <% if @capability_bounding_set -%> CapabilityBoundingSet=<%= Array(@capability_bounding_set).sort.uniq.join(" ") %> <% end -%> +<% if @ambient_capabilities -%> +AmbientCapabilities=<%= Array(@ambient_capabilities).sort.uniq.join(" ") %> +<% end -%> <% if @protect_system -%> ProtectSystem=<%= @protect_system %> <% end -%>