summaryrefslogtreecommitdiffstats
path: root/redis-conf.patch
blob: f4e297fbe34cd3a38ef8332801e82879db68e2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
diff -up ./redis.conf.rpm ./redis.conf
--- ./redis.conf.rpm	2025-07-10 11:31:26.588797534 +0200
+++ ./redis.conf	2025-07-10 11:31:26.590823030 +0200
@@ -153,7 +153,7 @@ tcp-backlog 511
 # incoming connections. There is no default, so Redis will not listen
 # on a unix socket when not specified.
 #
-# unixsocket /run/redis.sock
+unixsocket /run/redis/redis.sock
 # unixsocketperm 700
 
 # Close the connection after a client is idle for N seconds (0 to disable)
@@ -339,7 +339,7 @@ daemonize no
 #
 # Note that on modern Linux systems "/run/redis.pid" is more conforming
 # and should be used instead.
-pidfile /var/run/redis_6379.pid
+pidfile /run/redis/redis.pid
 
 # Specify the server verbosity level.
 # This can be one of:
@@ -353,7 +353,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.
@@ -513,7 +513,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 #################################
 
diff -up ./sentinel.conf.rpm ./sentinel.conf
--- ./sentinel.conf.rpm	2025-07-10 11:31:26.589683845 +0200
+++ ./sentinel.conf	2025-07-10 11:31:26.592442565 +0200
@@ -17,7 +17,7 @@ daemonize no
 # When running daemonized, Redis Sentinel writes a pid file in
 # /var/run/redis-sentinel.pid by default. You can specify a custom pid file
 # location here.
-pidfile /var/run/redis-sentinel.pid
+pidfile /run/redis/sentinel.pid
 
 # Specify the server verbosity level.
 # This can be one of:
@@ -31,7 +31,7 @@ loglevel notice
 # Specify the log file name. Also the empty string can be used to force
 # Sentinel 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/sentinel.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.