Merge pull request #217 from lgrawet/chk_haproxy

keepalived: replace pidof by pgrep
pull/221/head
Pavel Loginov 5 years ago committed by GitHub
commit 971a19ac00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save