anchor.diff:  #
   # units are case insensitive so 1GB 1Gb 1gB are all the same.
   
  +################################## INCLUDES ###################################
  +
  +# Include one or more other config files here.  This is useful if you
  +# have a standard template that goes to all Redis server but also need
  +# to customize a few per-server settings.  Include files can include
  +# other files, so use this wisely.
  +#
  +# Notice option "include" won't be rewritten by command "CONFIG REWRITE"
  +# from admin or Redis Sentinel. Since Redis always uses the last processed
  +# line as value of a configuration directive, you'd better put includes
  +# at the beginning of this file to avoid overwriting config change at runtime.
  +#
  +# If instead you are interested in using includes to override configuration
  +# options, it is better to use include as the last line.
  +#
  +# include /path/to/local.conf
  +# include /path/to/other.conf
  +
  +################################ GENERAL  #####################################
  +
   # By default Redis does not run as a daemon. Use 'yes' if you need it.
   # Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
   daemonize yes
  
positive.code: # If port 0 is specified Redis will not listen on a TCP socket.
  port <%= @redis_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 @redis_bind_address %>
  bind <%= @redis_bind_address %>
  <% 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
  # on a unix socket when not specified.
  <% if @redis_unixsocket %>
  unixsocket <%= @redis_unixsocket %>
  <% end %>
  
  # Close the connection after a client is idle for N seconds (0 to disable)
  timeout <%= @redis_timeout %>
  
  # Set server verbosity to 'debug'
  # it can be one of:
  # debug (a lot of information, useful for development/testing)
  # verbose (many rarely useful info, but not a mess like the debug level)
  # notice (moderately verbose, what you want in production probably)
  # warning (only very important / critical messages are logged)
  loglevel <%= @redis_loglevel %>
  
  # Specify the log file name. Also 'stdout' can be used to force
  # Redis to log on the standard output. Note that if you use standard
  # output for logging but daemonize, logs will be sent to /dev/null
  logfile /var/log/redis_<%= @redis_port %>.log
  
negative.code: #
  # The DB will be written inside this directory, with the filename specified
  # above using the 'dbfilename' configuration directive.
  # 
  # The Append Only File will also be created inside this directory.
  # 
  # Note that you must specify a directory here, not a file name.
  dir /var/lib/redis/<%= @redis_port %>
  
  