fix: typo in redis example

The `bind 0.0.0.0` rule should end up in the sentinel config, not the script output.
pull/6/head
Sander Ploegsma 2017-05-16 08:55:21 +02:00 committed by GitHub
parent 15a8ab33b8
commit f21ee1a6a8
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function launchsentinel() {
echo "sentinel down-after-milliseconds mymaster 60000" >> ${sentinel_conf}
echo "sentinel failover-timeout mymaster 180000" >> ${sentinel_conf}
echo "sentinel parallel-syncs mymaster 1" >> ${sentinel_conf}
echo "bind 0.0.0.0"
echo "bind 0.0.0.0" >> ${sentinel_conf}
redis-sentinel ${sentinel_conf} --protected-mode no
}