Skip to content

Commit

Permalink
Revert the default PID file back to the real default (#275)
Browse files Browse the repository at this point in the history
The default pid file is created at /var/run/redis.pid based on the code
at
https://github.com/valkey-io/valkey/blob/da831c0d2242251be84a5d7f14f954c6c7fa8ee8/src/server.h#L132.
Until we update it, we should reflect that in the conf file.

Signed-off-by: Madelyn Olson <[email protected]>
  • Loading branch information
madolson authored Apr 9, 2024
1 parent da831c0 commit 03650e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valkey.conf
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ daemonize no
#
# When the server runs non daemonized, no pid file is created if none is
# specified in the configuration. When the server is daemonized, the pid file
# is used even if not specified, defaulting to "/var/run/valkey.pid".
# is used even if not specified, defaulting to "/var/run/redis.pid".
#
# Creating a pid file is best effort: if the server is not able to create it
# nothing bad happens, the server will start and run normally.
Expand Down

0 comments on commit 03650e9

Please sign in to comment.