0003-redis.conf-adjust-defauts-for-buildroot.patch 850 B

1234567891011121314151617181920212223242526272829
  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
  5. Based on Martin Bark's patch hence archlinux package.
  6. We just need to specify a proper db directory.
  7. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  8. ---
  9. redis.conf | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/redis.conf b/redis.conf
  12. index 22e00bc..3bb0430 100644
  13. --- a/redis.conf
  14. +++ b/redis.conf
  15. @@ -244,7 +244,7 @@ dbfilename dump.rdb
  16. # The Append Only File will also be created inside this directory.
  17. #
  18. # Note that you must specify a directory here, not a file name.
  19. -dir ./
  20. +dir /var/lib/redis/
  21. ################################# REPLICATION #################################
  22. --
  23. 2.7.3