ports/databases/valkey/files/patch-sentinel.conf
Yasuhiro Kimura e5026aa4df databases/valkey: Update to 7.2.5, first stable release of valkey
* Use 'install' target of Makefile in source tree to install binaries.
* Add pkgconfig to USES.
* Enable portscout check.

ReleaseNotes:	https://github.com/valkey-io/valkey/blob/7.2.5/00-RELEASENOTES
PR:		278466
Reported by:	Mohamed Akram
2024-04-21 11:28:16 +09:00

26 lines
1 KiB
Text

--- sentinel.conf.orig 2024-04-16 04:18:47 UTC
+++ sentinel.conf
@@ -12,12 +12,12 @@ port 26379
# By default Valkey Sentinel does not run as a daemon. Use 'yes' if you need it.
# Note that Valkey will write a pid file in /var/run/valkey-sentinel.pid when
# daemonized.
-daemonize no
+daemonize yes
# When running daemonized, Valkey Sentinel writes a pid file in
# /var/run/valkey-sentinel.pid by default. You can specify a custom pid file
# location here.
-pidfile /var/run/valkey-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.