2020-10-30 14:06:11 +00:00
|
|
|
[Unit]
|
|
|
|
Description=LVS and VRRP High Availability Monitor
|
|
|
|
After=network-online.target syslog.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2021-06-08 16:51:00 +00:00
|
|
|
Type=notify
|
|
|
|
NotifyAccess=all
|
2020-10-30 14:06:11 +00:00
|
|
|
PIDFile=/run/keepalived.pid
|
|
|
|
KillMode=process
|
|
|
|
EnvironmentFile=-/etc/sysconfig/keepalived
|
2021-06-08 16:51:00 +00:00
|
|
|
ExecStart=/usr/sbin/keepalived --dont-fork $KEEPALIVED_OPTIONS
|
2020-10-30 14:06:11 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|