redis/redis-4.0.5-openmandriva-redis.conf.patch
Alexander Stefanov f245b6efaf 5.0.8
2020-04-08 21:32:55 +00:00

38 lines
1.5 KiB
Diff

diff -up redis-6.0-rc3/redis.conf.4~ redis-6.0-rc3/redis.conf
--- redis-6.0-rc3/redis.conf.4~ 2020-03-31 17:56:04.000000000 +0200
+++ redis-6.0-rc3/redis.conf 2020-04-01 01:35:46.782153947 +0200
@@ -224,7 +224,7 @@ supervised no
#
# Creating a pid file is best effort: if Redis is not able to create it
# nothing bad happens, the server will start and run normally.
-pidfile /var/run/redis_6379.pid
+pidfile /run/redis/redis.pid
# Specify the server verbosity level.
# This can be one of:
@@ -237,7 +237,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.
@@ -342,7 +342,7 @@ rdb-del-sync-files no
# 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 #################################
@@ -821,6 +821,7 @@ replica-priority 100
# output buffers (but this is not needed if the policy is 'noeviction').
#
# maxmemory <bytes>
+maxmemory 256m
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
# is reached. You can select one from the following behaviors: