diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-05 10:52:41 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-06 09:16:19 +0000 |
commit | 7a79dd77fa11fac4030e66057dde2d51f063b934 (patch) | |
tree | 4bd1b504beff94dff2a5e0ff3f62994d7fea1cc4 /src/etc/systemd/system | |
parent | 8e22a2f6f77dc2d10969d8603c59a8834164b903 (diff) | |
download | vyos-1x-7a79dd77fa11fac4030e66057dde2d51f063b934.tar.gz vyos-1x-7a79dd77fa11fac4030e66057dde2d51f063b934.zip |
T5480: Ability to disable SNMP for keepalived service VRRP
By default we enable `--snmp` for keepalived unit service
Add ability to disable it
set high-availability vrrp disable-snmp
(cherry picked from commit 5ae730a52de2f284e45cd433bb0cf66c8508f2f7)
Diffstat (limited to 'src/etc/systemd/system')
-rw-r--r-- | src/etc/systemd/system/keepalived.service.d/override.conf | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/etc/systemd/system/keepalived.service.d/override.conf b/src/etc/systemd/system/keepalived.service.d/override.conf deleted file mode 100644 index d91a824b9..000000000 --- a/src/etc/systemd/system/keepalived.service.d/override.conf +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -After=vyos-router.service -# Only start if there is our configuration file - remove Debian default -# config file from the condition list -ConditionFileNotEmpty= -ConditionFileNotEmpty=/run/keepalived/keepalived.conf - -[Service] -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 -PIDFile=/run/keepalived/keepalived.pid |