fucking systemd/snmpd

This commit is contained in:
Charles N Wyble - admin 2019-04-21 15:53:05 -05:00
parent 13212d5563
commit d7167016cf

View File

@ -8,8 +8,9 @@ Environment=”MIBSDIR=/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share
Environment=”MIBS=”
Type=simple
ExecStartPre=/bin/mkdir -p /var/run/agentx
ExecStart=/usr/sbin/snmpd -LS4d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f
ExecStart=/usr/sbin/snmpd -LS4d -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -f
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target