X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c37f6bcb0e397648dd6fd30794689aa939f978f6..a93ae59f08772c9b40efb9d7296561f3c880b456:/cookbooks/systemd/templates/default/service.erb diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index f7f851ae5..b3e0c13e2 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -14,6 +14,15 @@ Type=<%= @type %> <% if @limit_nofile -%> LimitNOFILE=<%= @limit_nofile %> <% 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 -%>