diff options
Diffstat (limited to 'docker/keepalived/check_alive.sh')
| -rwxr-xr-x | docker/keepalived/check_alive.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/keepalived/check_alive.sh b/docker/keepalived/check_alive.sh new file mode 100755 index 000000000..8c2684f10 --- /dev/null +++ b/docker/keepalived/check_alive.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# This will return 0 when it successfully talks to the haproxy daemon via the socket +# Failures return 1 + +echo "show info" | socat unix-connect:/run/haproxy.sock stdio |
