Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
029245fe
Commit
029245fe
authored
May 06, 2010
by
antirez
Browse files
clarified a few messages in redis.conf
parent
2cf5e513
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
029245fe
...
@@ -16,15 +16,15 @@
...
@@ -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 run
ning
daemon
ized
, Redis write
s
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
...
@@ -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
...
@@ -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 #################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment