summaryrefslogtreecommitdiff
path: root/sys-cluster/keepalived/files/keepalived.service-r1
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/keepalived/files/keepalived.service-r1')
-rw-r--r--sys-cluster/keepalived/files/keepalived.service-r115
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-cluster/keepalived/files/keepalived.service-r1 b/sys-cluster/keepalived/files/keepalived.service-r1
new file mode 100644
index 000000000000..a3624ed41f63
--- /dev/null
+++ b/sys-cluster/keepalived/files/keepalived.service-r1
@@ -0,0 +1,15 @@
+[Unit]
+Description=LVS and VRRP High Availability Monitor
+After=network-online.target syslog.target
+Wants=network-online.target
+
+[Service]
+Type=notify
+NotifyAccess=all
+PIDFile=/run/keepalived.pid
+KillMode=process
+ExecStart=/usr/sbin/keepalived --dont-fork $KEEPALIVED_OPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target