diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2018-08-26 11:19:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-26 11:19:51 +0200 |
commit | 8d519a85f42d18aa69efed1a1f6d97cdb12fb6eb (patch) | |
tree | 874398d10bb2f4c95649efb3cfba78cab7f846fd /sentinel.conf | |
parent | 39c70e728b5af0c50989ffbc05e568099f3e081b (diff) | |
parent | 3447062d5e02cf14fd3d7765fa39a65de15f8c15 (diff) | |
download | redis-8d519a85f42d18aa69efed1a1f6d97cdb12fb6eb.tar.gz |
Merge pull request #2292 from lamby/sentinel-conf-defaults
Make some defaults explicit in the sentinel.conf for package maintainers
Diffstat (limited to 'sentinel.conf')
-rw-r--r-- | sentinel.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf index 3703c7394..551defef9 100644 --- a/sentinel.conf +++ b/sentinel.conf @@ -20,6 +20,31 @@ # The port that this sentinel instance will run on 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-port <port> # |