Commit f21ee1a6 authored by Sander Ploegsma's avatar Sander Ploegsma Committed by GitHub

fix: typo in redis example

The `bind 0.0.0.0` rule should end up in the sentinel config, not the script output.
parent 15a8ab33
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment