]>
Commit | Line | Data |
---|---|---|
e846066f ER |
1 | description "SNMP Daemon" |
2 | ||
4e14f05b | 3 | start on local-filesystems and pld.network-started and started SERVICE_syslog=y |
e846066f ER |
4 | stop on pld.shutdown-started |
5 | ||
6 | env SNMPD_LISTEN_ADDRS= | |
7 | ||
8 | respawn | |
9 | ||
10 | script | |
11 | # Source old-style snmpd service configuration | |
12 | [ -f /etc/sysconfig/snmpd ] && . /etc/sysconfig/snmpd | |
4e14f05b | 13 | |
e846066f ER |
14 | SNMPD_LISTEN_ADDRS="" |
15 | exec /usr/sbin/snmpd -f -p /var/run/snmpd.pid $SNMPD_LISTEN_ADDRS | |
16 | end script |