diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-03 18:43:35 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-01-03 18:44:14 +0100 |
commit | 2a279f48e208b90c91eac5d6c5855e65cee39018 (patch) | |
tree | dc8ac30c48df20436ed1c8b1a1c5417d591c3262 | |
parent | b64dbabe1ccacba7154391118de481086f1dcc19 (diff) | |
download | vyos-1x-2a279f48e208b90c91eac5d6c5855e65cee39018.tar.gz vyos-1x-2a279f48e208b90c91eac5d6c5855e65cee39018.zip |
keepalived: T4128: add systemd option Type=simple
Without this option systemd startup will hit a timeout and the kill keepalived
again.
-rw-r--r-- | src/etc/systemd/system/keepalived.service.d/override.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/systemd/system/keepalived.service.d/override.conf b/src/etc/systemd/system/keepalived.service.d/override.conf index 1c68913f2..1346962a4 100644 --- a/src/etc/systemd/system/keepalived.service.d/override.conf +++ b/src/etc/systemd/system/keepalived.service.d/override.conf @@ -6,6 +6,7 @@ After=vyos-router.service [Service] KillMode=process +Type=simple EnvironmentFile= ExecStart= ExecStart=/usr/sbin/keepalived --use-file /run/keepalived/keepalived.conf --pid /run/keepalived/keepalived.pid --dont-fork --snmp |