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. @@ -14,7 +14,7 @@ port 6379 # If you want you can bind a single interface, if the bind option is not # specified all the interfaces will listen for connections. # -# bind 127.0.0.1 +bind 127.0.0.1 # Close the connection after a client is idle for N seconds (0 to disable) timeout 300 @@ -24,7 +24,7 @@ timeout 300 # debug (a lot of information, useful for development/testing) # notice (moderately verbose, what you want in production probably) # warning (only very important / critical messages are logged) -loglevel debug +loglevel notice # 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 @@ -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 #################################