50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
[supervisord]
|
|
logfile_maxbytes=1MB
|
|
logfile_backups=2
|
|
nodaemon=true
|
|
|
|
[program:start.sh]
|
|
command=/usr/bin/start.sh
|
|
priority=1
|
|
autostart=true
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
|
|
[program:rsyslogd]
|
|
command=/usr/sbin/rsyslogd -n
|
|
priority=2
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
|
|
[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* -C eth0
|
|
priority=3
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
|
|
[program:lldp-syncd]
|
|
command=/usr/bin/env python2 -m lldp_syncd
|
|
priority=4
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
|
|
[program:lldpmgrd]
|
|
command=/usr/bin/lldpmgrd
|
|
priority=5
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|