aboutsummaryrefslogtreecommitdiff
path: root/databases/valkey/files/patch-sentinel.conf
diff options
context:
space:
mode:
Diffstat (limited to 'databases/valkey/files/patch-sentinel.conf')
-rw-r--r--databases/valkey/files/patch-sentinel.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/valkey/files/patch-sentinel.conf b/databases/valkey/files/patch-sentinel.conf
new file mode 100644
index 000000000000..d02120641775
--- /dev/null
+++ b/databases/valkey/files/patch-sentinel.conf
@@ -0,0 +1,26 @@
+--- sentinel.conf.orig 2024-04-01 02:56:24 UTC
++++ sentinel.conf
+@@ -12,12 +12,12 @@ port 26379
+ # By default Redis Sentinel does not run as a daemon. Use 'yes' if you need it.
+ # Note that Redis will write a pid file in /var/run/redis-sentinel.pid when
+ # daemonized.
+-daemonize no
++daemonize yes
+
+ # 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 %%VALKEY_RUNDIR%%/valkey-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 %%VALKEY_LOGDIR%%/valkey-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.