Guest User

Untitled

a guest
Aug 10th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. lifecycle:
  2. postStart:
  3. exec:
  4. command:
  5. - "/bin/bash"
  6. - "-c"
  7. - "for i in $(seq 15 -1 1); do sleep 2; done; until rabbitmqctl status; do sleep 2; done; rabbitmqctl set_policy ha "." '{"ha-mode":"exactly", "ha-params":2, "ha-sync-mode":"automatic"}'"
Add Comment
Please, Sign In to add comment