| 1 | |
| 2 | |
| 3 | @@ -20,21 +20,21 @@
|
| 4 | # The port that this sentinel instance will run on
|
| 5 | port 26379
|
| 6 |
|
| 7 | -# By default KeyDB Sentinel does not run as a daemon. Use 'yes' if you need it.
|
| 8 | -# Note that KeyDB will write a pid file in /var/run/keydb-sentinel.pid when
|
| 9 | -# daemonized.
|
| 10 | -daemonize no
|
| 11 | -
|
| 12 | -# When running daemonized, KeyDB Sentinel writes a pid file in
|
| 13 | -# /var/run/keydb-sentinel.pid by default. You can specify a custom pid file
|
| 14 | -# location here.
|
| 15 | -pidfile /var/run/keydb-sentinel.pid
|
| 16 | -
|
| 17 | # Specify the log file name. Also the empty string can be used to force
|
| 18 | # Sentinel to log on the standard output. Note that if you use standard
|
| 19 | # output for logging but daemonize, logs will be sent to /dev/null
|
| 20 | -logfile ""
|
| 21 | +# logfile "/var/log/keydb/sentinel.log"
|
| 22 |
|
| 23 | +# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
| 24 | +# and optionally update the other syslog parameters to suit your needs.
|
| 25 | +syslog-enabled yes
|
| 26 | +
|
| 27 | +# Specify the syslog identity.
|
| 28 | +syslog-ident sentinel
|
| 29 | +
|
| 30 | +# Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7.
|
| 31 | +# syslog-facility local0
|
| 32 | +
|
| 33 | # sentinel announce-ip <ip>
|
| 34 | # sentinel announce-port <port>
|
| 35 | #
|
| 36 | @@ -62,7 +62,7 @@
|
| 37 | # For KeyDB Sentinel to chdir to /tmp at startup is the simplest thing
|
| 38 | # for the process to don't interfere with administrative tasks such as
|
| 39 | # unmounting filesystems.
|
| 40 | -dir /tmp
|
| 41 | +dir /var/lib/keydb/sentinel
|
| 42 |
|
| 43 | # sentinel monitor <master-name> <ip> <keydb-port> <quorum>
|
| 44 | #
|
| 45 | @@ -261,7 +261,7 @@
|
| 46 | #
|
| 47 | # Example:
|
| 48 | #
|
| 49 | -# sentinel notification-script mymaster /var/keydb/notify.sh
|
| 50 | +# sentinel notification-script mymaster /etc/keydb/notify.sh
|
| 51 |
|
| 52 | # CLIENTS RECONFIGURATION SCRIPT
|
| 53 | #
|
| 54 | @@ -286,7 +286,7 @@
|
| 55 | #
|
| 56 | # Example:
|
| 57 | #
|
| 58 | -# sentinel client-reconfig-script mymaster /var/keydb/reconfig.sh
|
| 59 | +# sentinel client-reconfig-script mymaster /etc/keydb/reconfig.sh
|
| 60 |
|
| 61 | # SECURITY
|
| 62 | #
|