Create sentinel.conf
This commit is contained in:
parent
37c864e965
commit
20500f0486
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
while ! ping -c 1 redis-0.redis; do
|
||||||
|
echo 'Waiting for server'
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
|
redis-sentinel /redis-config/sentinel.conf
|
||||||
Loading…
Reference in New Issue
Block a user