]>
Commit | Line | Data |
---|---|---|
e846066f ER |
1 | description "SNMP Daemon" |
2 | ||
3 | start on local-filesystems and pld.network-started and started SERVICE=syslog | |
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 | |
13 | ||
14 | SNMPD_LISTEN_ADDRS="" | |
15 | exec /usr/sbin/snmpd -f -p /var/run/snmpd.pid $SNMPD_LISTEN_ADDRS | |
16 | end script |