Martin André 02bd133206 Move keepalived common files to common dir
While not a problem in itself, all common files should be moved to
docker/common/keepalived to be more consistent with other containers.

Change-Id: I6176bbf30bf42c58d4480e7bf48b1c4625eb9a15
Closes-Bug: #1474213
2015-07-14 14:42:18 +09:00

20 lines
337 B
Plaintext
Executable File

vrrp_script check_alive {
script "/check_alive.sh"
interval 2
weight -10
}
vrrp_instance Floating {
state MASTER
interface @PUBLIC_INTERFACE@
virtual_router_id 51
priority @KEEPALIVED_PRIORITY@
advert_int 1
virtual_ipaddress {
@PUBLIC_IP@
}
track_script {
check_alive
}
}