X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bac2546111fc4271f2cca1ea64706f4725edca89..b6b91e858005daaa814901e43ac3e20f59318123:/cookbooks/systemd/templates/default/service.erb?ds=sidebyside diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index 4cac416f7..151b01790 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -17,6 +17,9 @@ LimitNOFILE=<%= @limit_nofile %> <% if @limit_as -%> LimitAS=<%= @limit_as %> <% end -%> +<% if @limit_cpu -%> +LimitCPU=<%= @limit_cpu %> +<% end -%> <% if @memory_low -%> MemoryLow=<%= @memory_low %> <% end -%>