chef/cookbooks/redis/templates/default/default_redis-server.erb
Greg Karékinian a32f34b408 Vendor the external cookbooks
Knife-Zero doesn't include Berkshelf support, so vendoring everything in
the repo is convenient again
2019-10-13 19:17:42 +02:00

13 lines
415 B
Plaintext

# 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 %>