snmp fixes, forever

This commit is contained in:
Charles N Wyble - admin 2020-03-06 22:16:11 -05:00
parent 672ef58779
commit 43e1e538cb

View File

@ -4,7 +4,7 @@ After=network.target
ConditionPathExists=/etc/snmp/snmpd.conf ConditionPathExists=/etc/snmp/snmpd.conf
[Service] [Service]
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” #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”
Environment=”MIBS=” Environment=”MIBS=”
Type=simple Type=simple
ExecStartPre=/bin/mkdir -p /var/run/agentx ExecStartPre=/bin/mkdir -p /var/run/agentx