Initial Chef repository
This commit is contained in:
12
cookbooks/redis/templates/default/default_redis-server.erb
Normal file
12
cookbooks/redis/templates/default/default_redis-server.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
# redis-server configure options
|
||||
|
||||
# ULIMIT: Call ulimit -n with this argument prior to invoking Redis itself.
|
||||
# This may be required for high-concurrency environments. Redis itself cannot
|
||||
# alter its limits as it is not being run as root. (default: do not call
|
||||
# ulimit)
|
||||
#
|
||||
<% if node["redis"]["ulimit"] && !node["redis"]["ulimit"].empty? %>
|
||||
ULIMIT=<%= node["redis"]["ulimit"] %>
|
||||
<% else %>
|
||||
# ULIMIT=65536
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user