property :restrict_realtime, [true, false]
property :restrict_suid_sgid, [true, false]
property :remove_ipc, [true, false]
+property :stop_when_unneeded, [true, false]
property :system_call_filter, [String, Array]
property :system_call_architectures, [String, Array]
property :tasks_max, Integer
<% if @joins_namespace_of -%>
JoinsNamespaceOf=<%= Array(@joins_namespace_of).join(" ") %>
<% end -%>
+<% if @stop_when_unneeded -%>
+StopWhenUnneeded=<%= @stop_when_unneeded %>
+<% end -%>
[Service]
<% if @type -%>