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