keepalived: replace pidof by pgrep

pull/217/head
Laurent Grawet 2020-03-06 17:34:47 +01:00
parent a28741435d
commit f72b924892
1 changed files with 1 additions and 1 deletions

View File

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