xref: /OK3568_Linux_fs/buildroot/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From f79d1d1bf9e6f54b67e5482602084fbff7fd9cc9 Mon Sep 17 00:00:00 2001
2From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3Date: Fri, 28 Oct 2016 12:50:34 -0300
4Subject: [PATCH] redis.conf: adjust defauts for buildroot
5
6Based on Martin Bark's patch hence archlinux package.
7We just need to specify a proper db directory.
8
9Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10---
11 redis.conf | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/redis.conf b/redis.conf
15index 22e00bc..3bb0430 100644
16--- a/redis.conf
17+++ b/redis.conf
18@@ -244,7 +244,7 @@ dbfilename dump.rdb
19 # The Append Only File will also be created inside this directory.
20 #
21 # Note that you must specify a directory here, not a file name.
22-dir ./
23+dir /var/lib/redis/
24
25 ################################# REPLICATION #################################
26
27--
282.7.3
29
30