keepalived: replace pidof by pgrep
@ -3,7 +3,7 @@ global_defs {
}
#health-check for keepalive
vrrp_script chk_haproxy {
script "pidof haproxy"
script "pgrep haproxy"
interval 2
weight 3