--- valkey-8.1.0/valkey.conf +++ valkey-8.1.0/valkey.conf @@ -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 /run/valkey/valkey.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 /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 /var/lib/valkey/ ################################# REPLICATION ################################# @@ -1248,7 +1248,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: