2016-10-25 20:52:13 -05:00
|
|
|
[supervisord]
|
2017-05-08 17:43:31 -05:00
|
|
|
logfile_maxbytes=1MB
|
|
|
|
logfile_backups=2
|
2016-10-25 20:52:13 -05:00
|
|
|
nodaemon=true
|
|
|
|
|
2017-05-08 17:43:31 -05:00
|
|
|
[program:start.sh]
|
|
|
|
command=/usr/bin/start.sh
|
|
|
|
priority=1
|
|
|
|
autostart=true
|
2017-05-09 19:37:08 -05:00
|
|
|
autorestart=false
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
|
|
|
|
|
|
|
[program:rsyslogd]
|
|
|
|
command=/usr/sbin/rsyslogd -n
|
|
|
|
priority=2
|
|
|
|
autostart=false
|
2017-05-09 19:37:08 -05:00
|
|
|
autorestart=false
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
|
|
|
|
2016-10-25 20:52:13 -05:00
|
|
|
[program:lldpd]
|
|
|
|
# https://github.com/vincentbernat/lldpd/commit/9856f2792c301116cc4a3fcfba91b9672ee5db1f
|
|
|
|
# - `-d` means to stay in foreground, log to syslog
|
|
|
|
# - `-dd` means to stay in foreground, log warnings to console
|
|
|
|
# - `-ddd` means to stay in foreground, log warnings and info to console
|
|
|
|
# - `-dddd` means to stay in foreground, log all to console
|
|
|
|
command=/usr/sbin/lldpd -d -I Ethernet*,eth*
|
|
|
|
priority=100
|
2017-05-08 17:43:31 -05:00
|
|
|
autostart=false
|
2017-05-09 19:37:08 -05:00
|
|
|
autorestart=false
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2016-10-25 20:52:13 -05:00
|
|
|
|
2016-10-31 14:25:09 -05:00
|
|
|
[program:lldpd-conf-reload]
|
|
|
|
command=/opt/reconfigure.sh
|
|
|
|
priority=150
|
2017-05-08 17:43:31 -05:00
|
|
|
autostart=false
|
2017-05-09 19:37:08 -05:00
|
|
|
autorestart=false
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2016-10-31 14:25:09 -05:00
|
|
|
|
2016-10-25 20:52:13 -05:00
|
|
|
[program:lldp-syncd]
|
|
|
|
command=/usr/bin/env python2 -m lldp_syncd
|
|
|
|
priority=200
|
2017-05-08 17:43:31 -05:00
|
|
|
autostart=false
|
2017-05-09 19:37:08 -05:00
|
|
|
autorestart=false
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|