diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-01-26 11:54:07 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-01-26 11:54:07 +0100 |
commit | 07d002e3be03babf1c3faaee43a90fe513969134 (patch) | |
tree | 6e97a3a6e64efee50bd58e8e3f7f1da644fb5e15 /src/etc/systemd/system/snmpd.service.d/override.conf | |
parent | 585a90e4018f03b49dc151b786adc020f6cd4a0a (diff) | |
download | vyos-1x-07d002e3be03babf1c3faaee43a90fe513969134.tar.gz vyos-1x-07d002e3be03babf1c3faaee43a90fe513969134.zip |
snmpd: T1937: fix all startup warnings
This is actually an "upstream" bug, see [1] but it can be fixed via our own
scripts.
[1]: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1384122
Diffstat (limited to 'src/etc/systemd/system/snmpd.service.d/override.conf')
-rw-r--r-- | src/etc/systemd/system/snmpd.service.d/override.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/systemd/system/snmpd.service.d/override.conf b/src/etc/systemd/system/snmpd.service.d/override.conf new file mode 100644 index 000000000..c366f9073 --- /dev/null +++ b/src/etc/systemd/system/snmpd.service.d/override.conf @@ -0,0 +1,6 @@ +[Service] +Environment= +Environment="MIBSDIR=/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp" +ExecStart= +ExecStart=/usr/sbin/snmpd -LS0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -ipCidrRouteTable,inetCidrRouteTable -f -p /run/snmpd.pid + |