clarified a few messages in redis.conf

This commit is contained in:
antirez 2010-05-06 18:04:51 +02:00
parent 2cf5e5136b
commit 029245feac

View File

@ -16,15 +16,15 @@
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize no daemonize no
# When run as a daemon, Redis write a pid file in /var/run/redis.pid by default. # When running daemonized, Redis writes a pid file in /var/run/redis.pid by
# You can specify a custom pid file location here. # default. You can specify a custom pid file location here.
pidfile /var/run/redis.pid pidfile /var/run/redis.pid
# Accept connections on the specified port, default is 6379 # Accept connections on the specified port, default is 6379
port 6379 port 6379
# If you want you can bind a single interface, if the bind option is not # If you want you can bind a single interface, if the bind option is not
# specified all the interfaces will listen for connections. # specified all the interfaces will listen for incoming connections.
# #
# bind 127.0.0.1 # bind 127.0.0.1
@ -40,7 +40,7 @@ timeout 300
loglevel verbose loglevel verbose
# Specify the log file name. Also 'stdout' can be used to force # Specify the log file name. Also 'stdout' can be used to force
# the demon to log on the standard output. Note that if you use standard # 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 # output for logging but daemonize, logs will be sent to /dev/null
logfile stdout logfile stdout
@ -78,8 +78,14 @@ rdbcompression yes
# The filename where to dump the DB # The filename where to dump the DB
dbfilename dump.rdb dbfilename dump.rdb
# For default save/load DB in/from the working directory # The working directory.
# Note that you must specify a directory not a file name. #
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# Also the Append Only File will be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir ./ dir ./
################################# REPLICATION ################################# ################################# REPLICATION #################################