summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
570a670)
Changed files:
snmpd.upstart -> 1.1
--- /dev/null
+description "SNMP Daemon"
+
+start on local-filesystems and pld.network-started and started SERVICE=syslog
+stop on pld.shutdown-started
+
+env SNMPD_LISTEN_ADDRS=
+
+respawn
+
+script
+ # Source old-style snmpd service configuration
+ [ -f /etc/sysconfig/snmpd ] && . /etc/sysconfig/snmpd
+
+ SNMPD_LISTEN_ADDRS=""
+ exec /usr/sbin/snmpd -f -p /var/run/snmpd.pid $SNMPD_LISTEN_ADDRS
+end script