diff options
author | Varac <varac@leap.se> | 2017-01-18 17:40:25 +0000 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-01-18 17:40:25 +0000 |
commit | 8cba23d7308af4ed018d42935adee442e2e53134 (patch) | |
tree | 96135e4aed98a2e366d5ba1c05b37e2cdeebf901 /puppet/modules/systemd/templates | |
parent | dd189d2de941ec081261ced814a9c822e5ef02a1 (diff) | |
parent | 80e0ca380e92fe435622dbd35d1a5baedb6c3f92 (diff) |
Merge branch 'apache-auto-restart' into 'master'
Add apache auto-restart extension file
See merge request !66
Diffstat (limited to 'puppet/modules/systemd/templates')
-rw-r--r-- | puppet/modules/systemd/templates/limits.erb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/puppet/modules/systemd/templates/limits.erb b/puppet/modules/systemd/templates/limits.erb new file mode 100644 index 00000000..3caf5867 --- /dev/null +++ b/puppet/modules/systemd/templates/limits.erb @@ -0,0 +1,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 %> |