2010-03-08 00:11:23 +01:00
|
|
|
Index: redis.conf
|
|
|
|
===================================================================
|
|
|
|
--- redis.conf.orig
|
|
|
|
+++ redis.conf
|
|
|
|
@@ -2,7 +2,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 no
|
|
|
|
+daemonize yes
|
|
|
|
|
|
|
|
# When run as a daemon, Redis write a pid file in /var/run/redis.pid by default.
|
|
|
|
# You can specify a custom pid file location here.
|
2010-03-08 00:22:27 +01:00
|
|
|
@@ -64,7 +64,7 @@ dbfilename dump.rdb
|
|
|
|
|
|
|
|
# For default save/load DB in/from the working directory
|
|
|
|
# Note that you must specify a directory not a file name.
|
|
|
|
-dir ./
|
|
|
|
+dir /var/lib/redis/
|
|
|
|
|
|
|
|
################################# REPLICATION #################################
|
|
|
|
|