keepalived/keepalived.service
sunsuwan bb18aac73e backport upstream patches and make service start not so offen
(cherry picked from commit 2a8dccb8461dec80764666d72d960c5be8394cef)
2023-06-13 19:09:42 +08:00

20 lines
500 B
Desktop File

[Unit]
Description=LVS and VRRP High Availability Monitor
After=network-online.target syslog.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/run/keepalived.pid
KillMode=process
EnvironmentFile=-/etc/sysconfig/keepalived
ExecStartPost=/usr/sbin/keepalived-start-post.sh
ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
ExecStopPost=/usr/sbin/keepalived-stop-post.sh
StartLimitBurst=1
StartLimitInterval=1s
[Install]
WantedBy=multi-user.target