40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
Index: sentinel.conf
|
|
--- sentinel.conf.orig
|
|
+++ sentinel.conf
|
|
@@ -21,14 +21,14 @@
|
|
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
|
|
+# Note that Redis will write a pid file in /var/run/redis/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
|
|
+# /var/run/redis/redis-sentinel.pid by default. You can specify a custom pid file
|
|
# location here.
|
|
-pidfile /var/run/redis-sentinel.pid
|
|
+pidfile /var/run/redis/redis-sentinel.pid
|
|
|
|
# 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
|
|
@@ -261,7 +261,7 @@ sentinel failover-timeout mymaster 180000
|
|
#
|
|
# Example:
|
|
#
|
|
-# sentinel notification-script mymaster /var/redis/notify.sh
|
|
+# sentinel notification-script mymaster ${DBDIR}/notify.sh
|
|
|
|
# CLIENTS RECONFIGURATION SCRIPT
|
|
#
|
|
@@ -286,7 +286,7 @@ sentinel failover-timeout mymaster 180000
|
|
#
|
|
# Example:
|
|
#
|
|
-# sentinel client-reconfig-script mymaster /var/redis/reconfig.sh
|
|
+# sentinel client-reconfig-script mymaster ${DBDIR}/reconfig.sh
|
|
|
|
# SECURITY
|
|
#
|