diff --git a/src/server.h b/src/server.h index ea7f9c0ef2..50ce567477 100644 --- a/src/server.h +++ b/src/server.h @@ -129,7 +129,7 @@ struct hdr_histogram; #define RDB_EOF_MARK_SIZE 40 #define CONFIG_REPL_BACKLOG_MIN_SIZE (1024*16) /* 16k */ #define CONFIG_BGSAVE_RETRY_DELAY 5 /* Wait a few secs before trying again. */ -#define CONFIG_DEFAULT_PID_FILE "/var/run/redis.pid" +#define CONFIG_DEFAULT_PID_FILE "/var/run/valkey.pid" #define CONFIG_DEFAULT_BINDADDR_COUNT 2 #define CONFIG_DEFAULT_BINDADDR { "*", "-::*" } #define NET_HOST_STR_LEN 256 /* Longest valid hostname */ diff --git a/tests/assets/default.conf b/tests/assets/default.conf index 4478f80fca..6e8156ce37 100644 --- a/tests/assets/default.conf +++ b/tests/assets/default.conf @@ -3,7 +3,7 @@ always-show-logo yes notify-keyspace-events KEA daemonize no -pidfile /var/run/redis.pid +pidfile /var/run/valkey.pid port 6379 timeout 0 bind 127.0.0.1 diff --git a/tests/assets/minimal.conf b/tests/assets/minimal.conf index ae14ae87b1..cc8b2dbd8a 100644 --- a/tests/assets/minimal.conf +++ b/tests/assets/minimal.conf @@ -1,5 +1,5 @@ # Minimal configuration for testing. always-show-logo yes daemonize no -pidfile /var/run/redis.pid +pidfile /var/run/valkey.pid loglevel verbose diff --git a/valkey.conf b/valkey.conf index 95934e6b49..c7fd020b17 100644 --- a/valkey.conf +++ b/valkey.conf @@ -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/redis.pid". +# is used even if not specified, defaulting to "/var/run/valkey.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.