:is => %w[noaccess invisible ptraceable default]
property :proc_subset, String,
:is => %w[all pid]
+property :bind_paths, [String, Array]
+property :bind_read_only_paths, [String, Array]
property :capability_bounding_set, [String, Array]
property :ambient_capabilities, [String, Array]
property :no_new_privileges, [true, false]
<% 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 -%>