]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/templates/default/service.erb
Make unit name optional for path units
[chef.git] / cookbooks / systemd / templates / default / service.erb
index b3e0c13e297fbc2b425fa866f3ef7520ca2b29a1..151b017902b78af3ff7415c0e48ab26147d76780 100644 (file)
@@ -14,6 +14,12 @@ Type=<%= @type %>
 <% if @limit_nofile -%>
 LimitNOFILE=<%= @limit_nofile %>
 <% end -%>
+<% if @limit_as -%>
+LimitAS=<%= @limit_as %>
+<% end -%>
+<% if @limit_cpu -%>
+LimitCPU=<%= @limit_cpu %>
+<% end -%>
 <% if @memory_low -%>
 MemoryLow=<%= @memory_low %>
 <% end -%>