diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-21 22:33:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-21 22:33:07 +0200 |
commit | 260f383221ea1b23e644b0c50f45eeb300e9bc24 (patch) | |
tree | 0f6b4082dbc857d5bf9ec460d86bd3ecc5025572 /src/etc | |
parent | b66ab0b02566d2b4eec6ec26db5122269fde89f1 (diff) | |
download | vyos-1x-260f383221ea1b23e644b0c50f45eeb300e9bc24.tar.gz vyos-1x-260f383221ea1b23e644b0c50f45eeb300e9bc24.zip |
vrrp: keepalived: T616: drop /etc/default/keepalived
This is a follow-up commit to 65398e5c8 ("vrrp: keepalived: T616: move
configuration to volatile /run directory") as it makes no sense to store a
static /etc/default/keepalived file marked as "Autogenerated by VyOS" that only
enabled the SNMP option to keepalived.
Better pass the --snmp switch via the systemd override file and drop all other
references/files.
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/systemd/system/keepalived.service.d/override.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/systemd/system/keepalived.service.d/override.conf b/src/etc/systemd/system/keepalived.service.d/override.conf index e338b90a2..c18ae0c29 100644 --- a/src/etc/systemd/system/keepalived.service.d/override.conf +++ b/src/etc/systemd/system/keepalived.service.d/override.conf @@ -7,6 +7,6 @@ After=vyos-router.service [Service] KillMode=process ExecStart= -ExecStart=/usr/sbin/keepalived --use-file /run/keepalived/keepalived.conf --pid /run/keepalived/keepalived.pid --dont-fork $DAEMON_ARGS +ExecStart=/usr/sbin/keepalived --use-file /run/keepalived/keepalived.conf --pid /run/keepalived/keepalived.pid --dont-fork --snmp PIDFile= PIDFile=/run/keepalived/keepalived.pid |