X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c37f6bcb0e397648dd6fd30794689aa939f978f6..2aa8360a91c880e3edd716a462b635cd7de29077:/cookbooks/systemd/templates/default/service.erb diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index f7f851ae5..151b01790 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -14,6 +14,21 @@ 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 -%> +<% if @memory_high -%> +MemoryHigh=<%= @memory_high %> +<% end -%> +<% if @memory_max -%> +MemoryMax=<%= @memory_max %> +<% end -%> <% @environment.each do |name,value| -%> Environment="<%= name %>=<%= value %>" <% end -%>