diff options
-rw-r--r-- | src/etc/systemd/system/keepalived.service.d/override.conf (renamed from src/systemd/keepalived.service) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/keepalived.service b/src/etc/systemd/system/keepalived.service.d/override.conf index a462d8614..923e1d280 100644 --- a/src/systemd/keepalived.service +++ b/src/etc/systemd/system/keepalived.service.d/override.conf @@ -1,5 +1,4 @@ [Unit] -Description=Keepalive Daemon (LVS and VRRP) After=vyos-router.service # Only start if there is a configuration file ConditionFileNotEmpty=/run/keepalived/keepalived.conf @@ -8,6 +7,7 @@ ConditionFileNotEmpty=/run/keepalived/keepalived.conf KillMode=process Type=simple # Read configuration variable file if it is present +ExecStart= ExecStart=/usr/sbin/keepalived --use-file /run/keepalived/keepalived.conf --pid /run/keepalived/keepalived.pid --dont-fork --snmp ExecReload=/bin/kill -HUP $MAINPID PIDFile=/run/keepalived/keepalived.pid |