From e1117f76ed85f10a46d861cdff0b0c82c23cf1f6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Dec 2014 19:59:36 +0100 Subject: redis 2.8.18 --- 0001-redis-2.8.18-redis-conf.patch | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 0001-redis-2.8.18-redis-conf.patch (limited to '0001-redis-2.8.18-redis-conf.patch') diff --git a/0001-redis-2.8.18-redis-conf.patch b/0001-redis-2.8.18-redis-conf.patch new file mode 100644 index 0000000..44ef765 --- /dev/null +++ b/0001-redis-2.8.18-redis-conf.patch @@ -0,0 +1,44 @@ +diff -up redis-2.8.18/redis.conf.rpmconf redis-2.8.18/redis.conf +--- redis-2.8.18/redis.conf.rpmconf 2014-12-04 11:36:52.000000000 +0100 ++++ redis-2.8.18/redis.conf 2014-12-04 19:39:55.101325437 +0100 +@@ -62,6 +62,7 @@ tcp-backlog 511 + # + # bind 192.168.1.100 10.0.0.1 + # bind 127.0.0.1 ++bind 127.0.0.1 + + # Specify the path for the Unix socket that will be used to listen for + # incoming connections. There is no default, so Redis will not listen +@@ -100,7 +101,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 "" ++logfile /var/log/redis/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. +@@ -184,7 +185,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 ./ ++dir /var/lib/redis/ + + ################################# REPLICATION ################################# + +diff -up redis-2.8.18/sentinel.conf.rpmconf redis-2.8.18/sentinel.conf +--- redis-2.8.18/sentinel.conf.rpmconf 2014-12-04 11:36:52.000000000 +0100 ++++ redis-2.8.18/sentinel.conf 2014-12-04 19:39:21.949190312 +0100 +@@ -4,6 +4,11 @@ + # The port that this sentinel instance will run on + port 26379 + ++# 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/log/redis/sentinel.log ++ + # sentinel announce-ip + # sentinel announce-port + # -- cgit