summaryrefslogtreecommitdiffstats
path: root/redis-2.8.4-conf.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-16 08:05:32 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-16 08:05:32 +0100
commitfe32a70d0b8ef4a0c6a5a2c34d29b5df28ffc2dc (patch)
treee9118c111a69f6c1335fa0ddc422743afbf83603 /redis-2.8.4-conf.patch
parent9344f0e164a83b38791daf6b9a61d7294e1de652 (diff)
redis: 2.8.4
Diffstat (limited to 'redis-2.8.4-conf.patch')
-rw-r--r--redis-2.8.4-conf.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/redis-2.8.4-conf.patch b/redis-2.8.4-conf.patch
new file mode 100644
index 0000000..c610969
--- /dev/null
+++ b/redis-2.8.4-conf.patch
@@ -0,0 +1,44 @@
+diff -up redis-2.8.4/redis.conf.rpmconf redis-2.8.4/redis.conf
+--- redis-2.8.4/redis.conf.rpmconf 2014-01-13 17:09:58.000000000 +0100
++++ redis-2.8.4/redis.conf 2014-01-16 07:58:47.979995707 +0100
+@@ -53,6 +53,7 @@ port 6379
+ #
+ # 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
+@@ -91,7 +92,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.
+@@ -175,7 +176,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.4/sentinel.conf.rpmconf redis-2.8.4/sentinel.conf
+--- redis-2.8.4/sentinel.conf.rpmconf 2014-01-16 07:58:47.979995707 +0100
++++ redis-2.8.4/sentinel.conf 2014-01-16 07:59:27.792112057 +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 monitor <master-name> <ip> <redis-port> <quorum>
+ #
+ # Tells Sentinel to monitor this master, and to consider it in O_DOWN