[Syncd] containers still based on Stretch must still use Python 2 (#6010)

Some syncd containers are still based on Debian Stretch, and thus do not have Python 3 available. For these containers, we must still rely on Python 2 to run supervisord_dependent_startup and supervisor-proc-exit-listener.
This commit is contained in:
Joe LeVeque 2020-11-23 22:35:58 -08:00 committed by GitHub
parent 6a6e583b06
commit 80bf8691e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 17 deletions

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -13,7 +13,7 @@ events=PROCESS_STATE
buffer_size=25
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -13,7 +13,7 @@ events=PROCESS_STATE
buffer_size=25
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -13,7 +13,7 @@ events=PROCESS_STATE
buffer_size=25
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -12,7 +12,7 @@ exitcodes=0,3
events=PROCESS_STATE
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -13,7 +13,7 @@ events=PROCESS_STATE
buffer_size=25
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -13,7 +13,7 @@ events=PROCESS_STATE
buffer_size=25
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -13,7 +13,7 @@ events=PROCESS_STATE
buffer_size=25
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected

View File

@ -4,7 +4,7 @@ logfile_backups=2
nodaemon=true
[eventlistener:dependent-startup]
command=python3 -m supervisord_dependent_startup
command=python2 -m supervisord_dependent_startup
autostart=true
autorestart=unexpected
startretries=0
@ -13,7 +13,7 @@ events=PROCESS_STATE
buffer_size=25
[eventlistener:supervisor-proc-exit-listener]
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
command=python2 /usr/bin/supervisor-proc-exit-listener --container-name syncd
events=PROCESS_STATE_EXITED
autostart=true
autorestart=unexpected