summaryrefslogtreecommitdiff
path: root/src/etc/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-03 18:43:35 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-03 18:44:14 +0100
commit2a279f48e208b90c91eac5d6c5855e65cee39018 (patch)
treedc8ac30c48df20436ed1c8b1a1c5417d591c3262 /src/etc/systemd
parentb64dbabe1ccacba7154391118de481086f1dcc19 (diff)
downloadvyos-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.
Diffstat (limited to 'src/etc/systemd')
-rw-r--r--src/etc/systemd/system/keepalived.service.d/override.conf1
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