mirror of https://github.com/Aidaho12/haproxy-wi
keepalived: replace pidof by pgrep
parent
a28741435d
commit
f72b924892
|
@ -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…
Reference in New Issue