summaryrefslogtreecommitdiff
path: root/dev-db/redis/files/redis-3.2.3-config.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-28 03:37:30 +0100
committerSam James <sam@gentoo.org>2022-04-28 03:37:30 +0100
commit850894a9e88d1b711cfd3036878848f5e59690b5 (patch)
treec16e9afec51ffeadb0229beddc0d57c9fb12df1e /dev-db/redis/files/redis-3.2.3-config.patch
parentbb357ae44b7e9fbff0d9d9df54370c6796d706cb (diff)
downloadgentoo-850894a9e88d1b711cfd3036878848f5e59690b5.tar.gz
gentoo-850894a9e88d1b711cfd3036878848f5e59690b5.tar.bz2
gentoo-850894a9e88d1b711cfd3036878848f5e59690b5.zip
Revert "dev-db/redis: drop 5.0.14, 6.0.16"
This reverts commit bb357ae44b7e9fbff0d9d9df54370c6796d706cb. dev-ruby/redis still needs 5* Bug: https://bugs.gentoo.org/841404 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/redis/files/redis-3.2.3-config.patch')
-rw-r--r--dev-db/redis/files/redis-3.2.3-config.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-db/redis/files/redis-3.2.3-config.patch b/dev-db/redis/files/redis-3.2.3-config.patch
new file mode 100644
index 000000000000..bde0ef7cbaf1
--- /dev/null
+++ b/dev-db/redis/files/redis-3.2.3-config.patch
@@ -0,0 +1,40 @@
+diff --git a/redis.conf b/redis.conf
+index 22e00bc..b09de57 100644
+--- a/redis.conf
++++ b/redis.conf
+@@ -147,7 +147,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:
+@@ -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 #################################
+
+@@ -534,7 +534,7 @@ slave-priority 100
+ # limit for maxmemory so that there is some free RAM on the system for slave
+ # output buffers (but this is not needed if the policy is 'noeviction').
+ #
+-# maxmemory <bytes>
++maxmemory 64MB
+
+ # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
+ # is reached. You can select among five behaviors: