67f5ce
[Unit]
67f5ce
Description=LVS and VRRP High Availability Monitor
67f5ce
After=network-online.target syslog.target
67f5ce
Wants=network-online.target
67f5ce
67f5ce
[Service]
67f5ce
Type=notify
67f5ce
NotifyAccess=all
67f5ce
PIDFile=/run/keepalived.pid
67f5ce
KillMode=process
67f5ce
EnvironmentFile=-/etc/sysconfig/keepalived
67f5ce
ExecStart=/usr/sbin/keepalived --dont-fork $KEEPALIVED_OPTIONS
67f5ce
ExecReload=/bin/kill -HUP $MAINPID
67f5ce
67f5ce
[Install]
67f5ce
WantedBy=multi-user.target