16 строки
368 B
SYSTEMD
16 строки
368 B
SYSTEMD
[Unit]
|
|
Description=LVS and VRRP High Availability Monitor
|
|
After=syslog.target network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/var/run/keepalived.pid
|
|
KillMode=process
|
|
EnvironmentFile=-/etc/sysconfig/keepalived
|
|
ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|