Commit 0dfc3689 authored by Brian Hatfield's avatar Brian Hatfield

Merge pull request #36 from bmhatfield/nhajratw-stack_limit2

Nhajratw stack limit2
parents cc2f0bac 7906cc26
......@@ -31,6 +31,7 @@ define :user_ulimit, :filehandle_limit => nil, :process_limit => nil, :memory_li
:core_limit => params[:core_limit],
:core_soft_limit => params[:core_soft_limit],
:core_hard_limit => params[:core_hard_limit],
:stack_limit => params[:stack_limit],
:stack_soft_limit => params[:stack_soft_limit],
:stack_hard_limit => params[:stack_hard_limit]
)
......
......@@ -22,10 +22,8 @@
<% unless @core_hard_limit.nil? -%><%= @ulimit_user -%> hard core <%= @core_hard_limit %><% end -%>
<% end -%>
<% unless @stack_soft_limit.nil? -%>
<%= @ulimit_user -%> soft stack <%= @stack_soft_limit %>
<% end -%>
<% unless @stack_hard_limit.nil? -%>
<%= @ulimit_user -%> hard stack <%= @stack_hard_limit %>
<% unless @stack_limit.nil? -%>
<%= @ulimit_user -%> - stack <%= @stack_limit %>
<% else -%><% unless @stack_soft_limit.nil? -%><%= @ulimit_user -%> soft stack <%= @stack_soft_limit %><% end -%>
<% unless @stack_hard_limit.nil? -%><%= @ulimit_user -%> hard stack <%= @stack_hard_limit %><% end -%>
<% end -%>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment