Skip to content

Commit

Permalink
Wait 5 second before start/restart snmpd (#3427)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-shirshov authored Sep 10, 2019
1 parent 96038ee commit df5a03f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/docker-snmp-sv2/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ stdout_logfile=syslog
stderr_logfile=syslog

[program:snmpd]
command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ipCidrRouteTable,ip,disk_hw -p /run/snmpd.pid
command=bash -c "sleep 5; /usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ipCidrRouteTable,ip,disk_hw -p /run/snmpd.pid"
priority=3
autostart=false
autorestart=true
startsecs = 10
stdout_logfile=syslog
stderr_logfile=syslog

Expand Down

0 comments on commit df5a03f

Please sign in to comment.