LegacyTechops/slack/prod/tsys-base/files/lib/systemd/system/snmpd.service

17 lines
583 B
SYSTEMD
Raw Normal View History

2019-04-21 20:13:03 +00:00
[Unit]
Description=Simple Network Management Protocol (SNMP) Daemon.
After=network.target
ConditionPathExists=/etc/snmp/snmpd.conf
[Service]
2020-03-07 03:16:11 +00:00
#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”
2020-03-07 03:26:48 +00:00
#Environment=”MIBS=”
2019-04-21 20:13:03 +00:00
Type=simple
ExecStartPre=/bin/mkdir -p /var/run/agentx
2020-03-07 01:24:25 +00:00
ExecStart=/usr/sbin/snmpd -LSWd -Lf /dev/null -u Debian-snmp -g Debian-snmp -f
2019-04-21 20:13:03 +00:00
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
2019-04-21 20:53:05 +00:00