Files
macports-ports/databases/valkey/files/patch-valkey.conf.diff
2025-04-02 19:38:31 +04:00

30 lines
1.1 KiB
Diff

--- valkey.conf.orig 2025-03-31 18:56:45
+++ valkey.conf 2025-04-02 19:33:35
@@ -385,7 +385,7 @@
#
# Note that on modern Linux systems "/run/valkey.pid" is more conforming
# and should be used instead.
-pidfile /var/run/valkey_6379.pid
+pidfile @PREFIX@/var/run/valkey/valkey_6379.pid
# Specify the server verbosity level.
# This can be one of:
@@ -416,7 +416,7 @@
# Specify the log file name. Also the empty string can be used to force
# the server 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/valkey/valkey.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.
@@ -606,7 +606,7 @@
# Note that modifying 'dir' during runtime may have unexpected behavior,
# for example when a child process is running, related file operations may
# have unexpected effects.
-dir ./
+dir @PREFIX@/var/db/valkey
################################# REPLICATION #################################