summaryrefslogtreecommitdiffstats
path: root/package/redis/0003-redis.conf-sane-defaults.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-sane-defaults.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-sane-defaults.patch')
-rw-r--r--package/redis/0003-redis.conf-sane-defaults.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/package/redis/0003-redis.conf-sane-defaults.patch b/package/redis/0003-redis.conf-sane-defaults.patch
deleted file mode 100644
index 6ee3f210ca..0000000000
--- a/package/redis/0003-redis.conf-sane-defaults.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Taken from archlinux redis package
-See https://projects.archlinux.org/svntogit/community.git/tree/trunk/redis.conf-sane-defaults.patch?h=packages/redis&id=5b2491ea61b746f289acebd12bc66e337d7e5b88
-
-Signed-off-by: Martin Bark <martin@barkynet.com>
-
-=========================================================================
-diff --git a/redis.conf b/redis.conf
-index 6efb6ac..344e021 100644
---- a/redis.conf
-+++ b/redis.conf
-@@ -61,7 +61,7 @@ tcp-backlog 511
- # Examples:
- #
- # 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
-@@ -87,7 +87,7 @@ timeout 0
- # On other kernels the period depends on the kernel configuration.
- #
- # A reasonable value for this option is 60 seconds.
--tcp-keepalive 0
-+tcp-keepalive 60
-
- # Specify the server verbosity level.
- # This can be one of:
-@@ -184,7 +184,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 #################################
-
OpenPOWER on IntegriCloud