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
8d519a85
Unverified
Commit
8d519a85
authored
Aug 26, 2018
by
Salvatore Sanfilippo
Committed by
GitHub
Aug 26, 2018
Browse files
Merge pull request #2292 from lamby/sentinel-conf-defaults
Make some defaults explicit in the sentinel.conf for package maintainers
parents
39c70e72
3447062d
Changes
1
Hide whitespace changes
Inline
Side-by-side
sentinel.conf
View file @
8d519a85
...
@@ -20,6 +20,31 @@
...
@@ -20,6 +20,31 @@
# The port that this sentinel instance will run on
# The port that this sentinel instance will run on
port
26379
port
26379
# By default Redis Sentinel does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis-sentinel.pid when
# daemonized.
daemonize
no
# When running daemonized, Redis Sentinel writes a pid file in
# /var/run/redis-sentinel.pid by default. You can specify a custom pid file
# location here.
pidfile
/
var
/
run
/
redis
-
sentinel
.
pid
# By default Redis Sentinel listens for connections from all the network
# interfaces available on the server. It is possible to listen to just one or
# multiple interfaces using the "bind" configuration directive, followed by one
# or more IP addresses.
#
# Examples:
#
# bind 192.168.1.100 10.0.0.1
# bind 127.0.0.1
# Specify the log file name. Also the empty string can be used to force
# Sentinel to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
logfile
""
# sentinel announce-ip <ip>
# sentinel announce-ip <ip>
# sentinel announce-port <port>
# sentinel announce-port <port>
#
#
...
...
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