redis/0001-redis-3.2.3-redis-conf.patch

35 lines
1.1 KiB
Diff

From 2875336337c14d15878fcc36de83cea350fc47f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= <hguemar@fedoraproject.org>
Date: Fri, 5 Dec 2014 14:11:15 +0100
Subject: [PATCH 1/5] redis 3.2.3: redis conf
---
redis.conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/redis.conf b/redis.conf
index 22e00bc..46a0154 100644
--- a/redis.conf
+++ b/redis.conf
@@ -160,7 +160,7 @@ loglevel notice
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
-logfile ""
+logfile /var/log/redis/redis.log
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
@@ -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.9.0