summaryrefslogtreecommitdiff
path: root/puppet/modules/systemd/templates/limits.erb
blob: 3caf58670c951e4f4f4cb4b0a3768d41f67f30be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This file is created by Puppet
[Service]
<%
[
  'LimitCPU',
  'LimitFSIZE',
  'LimitDATA',
  'LimitSTACK',
  'LimitCORE',
  'LimitRSS',
  'LimitNOFILE',
  'LimitAS',
  'LimitNPROC',
  'LimitMEMLOCK',
  'LimitLOCKS',
  'LimitSIGPENDING',
  'LimitMSGQUEUE',
  'LimitNICE',
  'LimitRTPRIO',
  'LimitRTTIME'
].each do |d|
if @limits[d] -%>
<%= d %>=<%= @limits[d] %>
<%
end
end %>