Skip to content

Commit

Permalink
Merge pull request #25 from simpleweb/conf-bind-optional
Browse files Browse the repository at this point in the history
Allow conf_bind to be unset
  • Loading branch information
fsalum committed Feb 19, 2014
2 parents 9c74a96 + 091f3ea commit ea59faa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/redis.debian.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ port <%= @conf_port %>
# If you want you can bind a single interface, if the bind option is not
# specified all the interfaces will listen for connections.
#
<% if @conf_bind != 'UNSET' %>
bind <%= @conf_bind %>
<% end %>

# Close the connection after a client is idle for N seconds (0 to disable)
timeout <%= @conf_timeout %>
Expand Down
2 changes: 2 additions & 0 deletions templates/redis.rhel.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ port <%= @conf_port %>
# If you want you can bind a single interface, if the bind option is not
# specified all the interfaces will listen for incoming connections.
#
<% if @conf_bind != 'UNSET' %>
bind <%= @conf_bind %>
<% end %>

# Specify the path for the unix socket that will be used to listen for
# incoming connections. There is no default, so Redis will not listen
Expand Down

0 comments on commit ea59faa

Please sign in to comment.