X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f06628a80acfba8c201da23162681647d5b66d59..116603252e113ecfd4073cee6a85127d02fc2282:/cookbooks/systemd/templates/default/service.erb?ds=sidebyside diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index fb2427de7..01e9e1d4f 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -163,6 +163,12 @@ ProtectProc=<%= @protect_proc %> <% if @proc_subset && node[:lsb][:release].to_f >= 22.04 -%> ProcSubset=<%= @proc_subset %> <% end -%> +<% if @bind_paths -%> +BindPaths=<%= Array(@bind_paths).sort.uniq.join(" ") %> +<% end -%> +<% if @bind_read_only_paths -%> +BindReadOnlyPaths=<%= Array(@bind_read_only_paths).sort.uniq.join(" ") %> +<% end -%> <% if @no_new_privileges -%> NoNewPrivileges=<%= @no_new_privileges %> <% end -%>