4d1e4c3
From 99c028fdf6723f5a32c3fa5e308f9339f95f66ca Mon Sep 17 00:00:00 2001
68f0932
From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= <hguemar@fedoraproject.org>
4d1e4c3
Date: Fri, 5 Dec 2014 14:11:15 +0100
4d1e4c3
Subject: [PATCH 1/5] redis 2.8.18: redis conf
68f0932
68f0932
---
68f0932
 redis.conf | 8 ++++----
68f0932
 1 file changed, 4 insertions(+), 4 deletions(-)
68f0932
68f0932
diff --git a/redis.conf b/redis.conf
4d1e4c3
index 6c76569..dd0ef34 100644
68f0932
--- a/redis.conf
68f0932
+++ b/redis.conf
68f0932
@@ -38,7 +38,7 @@ daemonize no
68f0932
 
68f0932
 # When running daemonized, Redis writes a pid file in /var/run/redis.pid by
68f0932
 # default. You can specify a custom pid file location here.
68f0932
-pidfile /var/run/redis.pid
68f0932
+pidfile /var/run/redis/redis.pid
68f0932
 
68f0932
 # Accept connections on the specified port, default is 6379.
68f0932
 # If port 0 is specified Redis will not listen on a TCP socket.
68f0932
@@ -61,7 +61,7 @@ tcp-backlog 511
68f0932
 # Examples:
68f0932
 #
68f0932
 # bind 192.168.1.100 10.0.0.1
68f0932
-# bind 127.0.0.1
68f0932
+bind 127.0.0.1
68f0932
 
68f0932
 # Specify the path for the Unix socket that will be used to listen for
68f0932
 # incoming connections. There is no default, so Redis will not listen
68f0932
@@ -100,7 +100,7 @@ loglevel notice
68f0932
 # Specify the log file name. Also the empty string can be used to force
68f0932
 # Redis to log on the standard output. Note that if you use standard
68f0932
 # output for logging but daemonize, logs will be sent to /dev/null
68f0932
-logfile ""
68f0932
+logfile /var/log/redis/redis.log
68f0932
 
68f0932
 # To enable logging to the system logger, just set 'syslog-enabled' to yes,
68f0932
 # and optionally update the other syslog parameters to suit your needs.
68f0932
@@ -184,7 +184,7 @@ dbfilename dump.rdb
68f0932
 # The Append Only File will also be created inside this directory.
4d1e4c3
 #
68f0932
 # Note that you must specify a directory here, not a file name.
68f0932
-dir ./
68f0932
+dir /var/lib/redis/
68f0932
 
68f0932
 ################################# REPLICATION #################################
68f0932
 
68f0932
-- 
4d1e4c3
2.1.0
68f0932