Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b5f39962
Unverified
Commit
b5f39962
authored
Nov 01, 2020
by
Yossi Gottlieb
Committed by
GitHub
Nov 01, 2020
Browse files
Update redis.conf to recommend use of /run. (#8002)
parent
84b3c18f
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
b5f39962
...
@@ -112,7 +112,7 @@ tcp-backlog 511
...
@@ -112,7 +112,7 @@ tcp-backlog 511
# incoming connections. There is no default, so Redis will not listen
# incoming connections. There is no default, so Redis will not listen
# on a unix socket when not specified.
# on a unix socket when not specified.
#
#
# unixsocket /
tmp
/redis.sock
# unixsocket /
run
/redis.sock
# unixsocketperm 700
# unixsocketperm 700
# Close the connection after a client is idle for N seconds (0 to disable)
# Close the connection after a client is idle for N seconds (0 to disable)
...
@@ -251,6 +251,9 @@ supervised no
...
@@ -251,6 +251,9 @@ supervised no
#
#
# Creating a pid file is best effort: if Redis is not able to create it
# 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.
# 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
pidfile
/
var
/
run
/
redis_6379
.
pid
# Specify the server verbosity level.
# Specify the server verbosity level.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment