Lines 1-38
Link Here
|
1 |
--- valkey.conf.orig 2024-04-16 04:18:47 UTC |
1 |
--- valkey.conf.orig 2025-03-31 19:55:59 UTC |
2 |
+++ valkey.conf |
2 |
+++ valkey.conf |
3 |
@@ -303,7 +303,7 @@ tcp-keepalive 300 |
3 |
@@ -353,7 +353,7 @@ tcp-keepalive 300 |
4 |
# By default the server does not run as a daemon. Use 'yes' if you need it. |
4 |
# By default the server does not run as a daemon. Use 'yes' if you need it. |
5 |
# Note that the server will write a pid file in /var/run/valkey.pid when daemonized. |
5 |
# Note that the server will write a pid file in /var/run/valkey.pid when daemonized. |
6 |
# When the server is supervised by upstart or systemd, this parameter has no impact. |
6 |
# When the server is supervised by upstart or systemd, this parameter has no impact. |
7 |
-daemonize no |
7 |
-daemonize no |
8 |
+daemonize yes |
8 |
+daemonize yes |
9 |
|
9 |
|
10 |
# If you run the server from upstart or systemd, the server can interact with your |
10 |
# If you run the server from upstart or systemd, the server can interact with your |
11 |
# supervision tree. Options: |
11 |
# supervision tree. Options: |
12 |
@@ -335,7 +335,7 @@ daemonize no |
12 |
@@ -385,7 +385,7 @@ daemonize no |
13 |
# |
13 |
# |
14 |
# Note that on modern Linux systems "/run/valkey.pid" is more conforming |
14 |
# Note that on modern Linux systems "/run/valkey.pid" is more conforming |
15 |
# and should be used instead. |
15 |
# and should be used instead. |
16 |
-pidfile /var/run/valkey_6379.pid |
16 |
-pidfile /var/run/valkey_6379.pid |
17 |
+pidfile %%VALKEY_RUNDIR%%/valkey.pid |
17 |
+pidfile %%VALKEY_RUNDIR%%/valkey.pid |
18 |
|
18 |
|
19 |
# Specify the server verbosity level. |
19 |
# Specify the server verbosity level. |
20 |
# This can be one of: |
20 |
# This can be one of: |
21 |
@@ -349,7 +349,7 @@ loglevel notice |
21 |
@@ -416,7 +416,7 @@ loglevel notice |
22 |
# Specify the log file name. Also the empty string can be used to force |
22 |
# Specify the log file name. Also the empty string can be used to force |
23 |
# the server to log on the standard output. Note that if you use standard |
23 |
# the server to log on the standard output. Note that if you use standard |
24 |
# output for logging but daemonize, logs will be sent to /dev/null |
24 |
# output for logging but daemonize, logs will be sent to /dev/null |
25 |
-logfile "" |
25 |
-logfile "" |
26 |
+logfile %%VALKEY_LOGDIR%%/valkey.log |
26 |
+logfile %%VALKEY_LOGDIR%%/valkey.log |
27 |
|
27 |
|
28 |
# To enable logging to the system logger, just set 'syslog-enabled' to yes, |
28 |
# To enable logging to the system logger, just set 'syslog-enabled' to yes, |
29 |
# and optionally update the other syslog parameters to suit your needs. |
29 |
# and optionally update the other syslog parameters to suit your needs. |
30 |
@@ -504,7 +504,7 @@ rdb-del-sync-files no |
30 |
@@ -606,7 +606,7 @@ rdb-del-sync-files no |
31 |
# The Append Only File will also be created inside this directory. |
31 |
# Note that modifying 'dir' during runtime may have unexpected behavior, |
32 |
# |
32 |
# for example when a child process is running, related file operations may |
33 |
# Note that you must specify a directory here, not a file name. |
33 |
# have unexpected effects. |
34 |
-dir ./ |
34 |
-dir ./ |
35 |
+dir %%VALKEY_DBDIR%%/ |
35 |
+dir %%VALKEY_DBDIR%%/ |
36 |
|
36 |
|
37 |
################################# REPLICATION ################################# |
37 |
################################# REPLICATION ################################# |
38 |
|
38 |
|
39 |
- |
|
|