Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dockers]: Disable autorestart on all supervised processes inside containers #580

Merged
merged 1 commit into from
May 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dockers/docker-basic_router/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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

1 change: 1 addition & 0 deletions dockers/docker-database/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ nodaemon=true
command=/usr/bin/redis-server /etc/redis/redis.conf
priority=1
autostart=true
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion dockers/docker-dhcp-relay/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:isc-dhcp-relay]
command=/usr/bin/isc-dhcp-relay.sh
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

5 changes: 4 additions & 1 deletion dockers/docker-fpm-gobgp/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,31 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:gobgpd]
command=/usr/sbin/gobgpd -p -f /etc/gobgp/gobgpd.conf -r
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

[program:fpmsyncd]
command=fpmsyncd
priority=5
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion dockers/docker-fpm-quagga/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:fpmsyncd]
command=fpmsyncd
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

7 changes: 5 additions & 2 deletions dockers/docker-lldp-sv2/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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

Expand All @@ -27,21 +28,23 @@ stderr_logfile=syslog
command=/usr/sbin/lldpd -d -I Ethernet*,eth*
priority=100
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

[program:lldpd-conf-reload]
command=/opt/reconfigure.sh
priority=150
autostart=false
autorestart=false ; One-shot
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

[program:lldp-syncd]
command=/usr/bin/env python2 -m lldp_syncd
priority=200
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion dockers/docker-orchagent/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:orchagent]
command=/usr/bin/orchagent.sh
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

5 changes: 3 additions & 2 deletions dockers/docker-platform-monitor/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:lm-sensors]
command=/usr/bin/lm-sensors.sh
priority=3
autostart=false
autorestart=false ; One-shot
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion dockers/docker-saiserver-brcm/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:saiserver]
command=/usr/bin/saiserver -p /etc/sai/profile.ini -f /etc/sai/portmap.ini
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion dockers/docker-saiserver-cavm/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:saiserver]
command=/usr/bin/saiserver -p /etc/sai/profile.ini -f /etc/sai/portmap.ini
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion dockers/docker-saiserver-mlnx/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:saiserver]
command=/usr/bin/saiserver -p /etc/sai/profile.ini -f /etc/sai/portmap.ini
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

5 changes: 4 additions & 1 deletion dockers/docker-snmp-sv2/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,31 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:snmpd]
command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ip -p /run/snmpd.pid
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

[program:snmp-subagent]
command=/usr/bin/env python3.6 -m sonic_ax_impl
priority=4
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion dockers/docker-teamd/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:teamd]
command=/usr/bin/teamd.sh
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion platform/broadcom/docker-syncd-brcm/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:syncd]
command=/usr/bin/syncd.sh
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

4 changes: 3 additions & 1 deletion platform/cavium/docker-syncd-cavm/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ nodaemon=true
command=/usr/bin/start.sh
priority=1
autostart=true
autorestart=false ; One-shot
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:syncd]
command=/usr/bin/syncd.sh
priority=3
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

Loading