|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
# 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
|
|
|
+daemonize no
|
|
|
|
|
|
# When running daemonized, Redis writes a pid file in /var/run/redis.pid by
|
|
|
# default. You can specify a custom pid file location here.
|
|
@@ -106,7 +106,7 @@ loglevel notice
|
|
|
# Specify the log file name. Also the empty string 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/redis/redis.log
|
|
|
+#logfile /var/redis.log
|
|
|
|
|
|
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
|
|
# and optionally update the other syslog parameters to suit your needs.
|
|
@@ -162,7 +162,7 @@ save 60 10000
|
|
|
# and persistence, you may want to disable this feature so that Redis will
|
|
|
# continue to work as usual even if there are problems with disk,
|
|
|
# permissions, and so forth.
|
|
|
-stop-writes-on-bgsave-error yes
|
|
|
+stop-writes-on-bgsave-error no
|
|
|
|
|
|
# Compress string objects using LZF when dump .rdb databases?
|
|
|
# For default that's set to 'yes' as it's almost always a win.
|
|
@@ -190,7 +190,7 @@ dbfilename dump.rdb
|
|
|
# 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/redis
|
|
|
+dir ./
|
|
|
|
|
|
################################# REPLICATION #################################
|
|
|
|