Update haproxy check script in keepalived.

Fixes-Bug: 1674742

Change-Id: If4bdc9d8882ba902e14508e3c28a78b8c0f74b09
(cherry picked from commit 6d757cade5)
This commit is contained in:
Chenjun Shen 2017-03-29 15:37:09 +02:00 committed by Marc Gariépy (mgariepy)
parent 7267d212f7
commit 0513d1cd68
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ keepalived_sync_groups:
keepalived_scripts:
haproxy_check_script:
check_script: "killall -0 haproxy"
check_script: "kill -0 `cat /var/run/haproxy.pid`"
pingable_check_script:
check_script: "ping -c {{ keepalived_ping_count }} {{ keepalived_ping_address }} 1>&2"
interval: "{{ keepalived_ping_interval }}"