diff --git a/modules/redis/templates/redis.2.2.conf.erb b/modules/redis/templates/redis.2.2.conf.erb index bbde00aba0..9a668dfd2a 100644 --- a/modules/redis/templates/redis.2.2.conf.erb +++ b/modules/redis/templates/redis.2.2.conf.erb @@ -18,7 +18,7 @@ daemonize yes # When running daemonized, Redis writes a pid file in /var/run/redis.pid by # default. You can specify a custom pid file location here. -pidfile /var/run/redis_<%= redis_port %>.pid +pidfile /var/run/redis/redis-server.pid # Accept connections on the specified port, default is 6379. # If port 0 is specified Redis will not listen on a TCP socket. @@ -103,7 +103,7 @@ dbfilename dump.rdb # 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 /var/lib/redis ################################# REPLICATION #################################