package/rpi-userland: don't install file in random location
[buildroot-gz.git] / package / redis / 0003-redis.conf-adjust-defauts-for-buildroot.patch
blob6ad81a493d2afb27d3f4d6b3acb45fe5ee10d314
1 From f79d1d1bf9e6f54b67e5482602084fbff7fd9cc9 Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Fri, 28 Oct 2016 12:50:34 -0300
4 Subject: [PATCH] redis.conf: adjust defauts for buildroot
6 Based on Martin Bark's patch hence archlinux package.
7 We just need to specify a proper db directory.
9 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 ---
11 redis.conf | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/redis.conf b/redis.conf
15 index 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.
21 # Note that you must specify a directory here, not a file name.
22 -dir ./
23 +dir /var/lib/redis/
25 ################################# REPLICATION #################################
27 --
28 2.7.3