2011-09-19 16:34:30 +00:00
|
|
|
[Unit]
|
|
|
|
Description=LVS and VRRP High Availability Monitor
|
2015-01-13 16:56:41 +00:00
|
|
|
After=syslog.target network-online.target
|
2011-09-19 16:34:30 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2016-01-23 07:53:01 +00:00
|
|
|
PIDFile=/var/run/keepalived.pid
|
2012-09-04 16:24:20 +00:00
|
|
|
KillMode=process
|
2011-09-19 16:34:30 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/keepalived
|
|
|
|
ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS
|
2012-09-04 16:24:20 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2011-09-19 16:34:30 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|