diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2020-11-01 13:56:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 13:56:44 +0200 |
commit | b5f3996250eac3adbda407086fc519aebcb29797 (patch) | |
tree | a31cc648bf547ceb1b15d4e6a4a4e1cbca85fedf /redis.conf | |
parent | 84b3c18f71ec5b03e58a823fbf75de9c4c80969c (diff) | |
download | redis-b5f3996250eac3adbda407086fc519aebcb29797.tar.gz |
Update redis.conf to recommend use of /run. (#8002)
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/redis.conf b/redis.conf index 4caa70f38..c96aebea4 100644 --- a/redis.conf +++ b/redis.conf @@ -112,7 +112,7 @@ tcp-backlog 511 # incoming connections. There is no default, so Redis will not listen # on a unix socket when not specified. # -# unixsocket /tmp/redis.sock +# unixsocket /run/redis.sock # unixsocketperm 700 # Close the connection after a client is idle for N seconds (0 to disable) @@ -251,6 +251,9 @@ supervised no # # Creating a pid file is best effort: if Redis is not able to create it # nothing bad happens, the server will start and run normally. +# +# Note that on modern Linux systems "/run/redis.pid" is more conforming +# and should be used instead. pidfile /var/run/redis_6379.pid # Specify the server verbosity level. |