2011-09-19 16:34:30 +00:00
|
|
|
[Unit]
|
|
|
|
Description=LVS and VRRP High Availability Monitor
|
2017-03-26 21:37:35 +00:00
|
|
|
After=network-online.target syslog.target
|
|
|
|
Wants=network-online.target
|
2011-09-19 16:34:30 +00:00
|
|
|
|
|
|
|
[Service]
|
2021-08-03 18:25:59 +00:00
|
|
|
Type=notify
|
|
|
|
NotifyAccess=all
|
2019-07-30 14:40:10 +00:00
|
|
|
PIDFile=/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
|
2021-08-03 18:25:59 +00:00
|
|
|
ExecStart=/usr/sbin/keepalived --dont-fork $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
|