Files
2022-05-16 16:43:25 -04:00

31 lines
1.1 KiB
Diff

diff -ur redis-7.0.0-orig/redis.conf redis-7.0.0/redis.conf
--- redis.conf 2022-04-27 09:32:17.000000000 -0400
+++ redis.conf 2022-05-16 14:17:18.104384198 -0400
@@ -338,7 +338,7 @@
#
# Note that on modern Linux systems "/run/redis.pid" is more conforming
# and should be used instead.
-pidfile /var/run/redis_6379.pid
+pidfile @PREFIX@/var/run/redis_6379.pid
# Specify the server verbosity level.
# This can be one of:
@@ -351,7 +351,7 @@
# 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 @PREFIX@/var/log/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.
@@ -501,7 +501,7 @@
# 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 @PREFIX@/var/db/redis
################################# REPLICATION #################################