summaryrefslogtreecommitdiffstats
path: root/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-10-28 13:12:11 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-29 15:41:20 +0200
commit6dbd9ad3cc23eca260ce87f032ba1cecc7eb4329 (patch)
tree14cc644206d06ab8c59f1b2dbfb2dbf6772ba83e /package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch
parent75a552fbfb93d899e42311a82d448b081ebe9c77 (diff)
downloadbuildroot-6dbd9ad3cc23eca260ce87f032ba1cecc7eb4329.tar.gz
buildroot-6dbd9ad3cc23eca260ce87f032ba1cecc7eb4329.zip
redis: bump to version 3.2.5
Adjust default config patch to match new major version. localhost binding is now default so drop it, 300s keepalive is now default as well (instead of 60s from the previous patch and 0 by default) - which sounds reasonable so keep it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch')
-rw-r--r--package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch b/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch
new file mode 100644
index 0000000000..6ad81a493d
--- /dev/null
+++ b/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch
@@ -0,0 +1,29 @@
+From f79d1d1bf9e6f54b67e5482602084fbff7fd9cc9 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Fri, 28 Oct 2016 12:50:34 -0300
+Subject: [PATCH] redis.conf: adjust defauts for buildroot
+
+Based on Martin Bark's patch hence archlinux package.
+We just need to specify a proper db directory.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ redis.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/redis.conf b/redis.conf
+index 22e00bc..3bb0430 100644
+--- a/redis.conf
++++ b/redis.conf
+@@ -244,7 +244,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 #################################
+
+--
+2.7.3
+
OpenPOWER on IntegriCloud