--- valkey-7.2.5/valkey.conf +++ valkey-7.2.5/valkey.conf @@ -335,7 +335,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 /run/valkey/valkey.pid # Specify the server verbosity level. # This can be one of: @@ -349,7 +349,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 /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. @@ -504,7 +504,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 /var/lib/valkey/ ################################# REPLICATION ################################# @@ -1113,7 +1113,7 @@ # limit for maxmemory so that there is some free RAM on the system for replica # output buffers (but this is not needed if the policy is 'noeviction'). # -# maxmemory +maxmemory 64MB # MAXMEMORY POLICY: how the server will select what to remove when maxmemory # is reached. You can select one from the following behaviors: