summaryrefslogtreecommitdiffstats
path: root/0001-redis-3.2-redis-conf.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-15 17:16:48 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-15 17:16:48 +0100
commit3e418be6b632963e270c9736c596f631d309e0bc (patch)
tree2e641323c2b197d8f059a4c464b60719d2c64538 /0001-redis-3.2-redis-conf.patch
parent29e67bbe23cb3096f52bde59c91c7f0e2264de62 (diff)
redis: 3.2-rc1
Diffstat (limited to '0001-redis-3.2-redis-conf.patch')
-rw-r--r--0001-redis-3.2-redis-conf.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/0001-redis-3.2-redis-conf.patch b/0001-redis-3.2-redis-conf.patch
new file mode 100644
index 0000000..2803349
--- /dev/null
+++ b/0001-redis-3.2-redis-conf.patch
@@ -0,0 +1,36 @@
+diff -up ./redis.conf.rpmconf ./redis.conf
+--- ./redis.conf.rpmconf 2015-12-23 13:35:32.000000000 +0100
++++ ./redis.conf 2016-01-15 16:32:22.491355290 +0100
+@@ -140,7 +140,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.
+@@ -224,7 +224,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 ./sentinel.conf.rpmconf ./sentinel.conf
+--- ./sentinel.conf.rpmconf 2015-12-23 13:35:32.000000000 +0100
++++ ./sentinel.conf 2016-01-15 16:32:22.491355290 +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 <ip>
+ # sentinel announce-port <port>
+ #