2015-08-27 18:13:04 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This will return 0 when it successfully talks to the haproxy daemon via the socket
|
|
|
|
# Failures return 1
|
|
|
|
|
2017-08-02 15:32:46 +08:00
|
|
|
echo "show info" | socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock stdio > /dev/null
|