Skip to content

Commit 0c64a77

Browse files
authored
Add loopback check. (#24357)
Add loopback check.
1 parent f7b153f commit 0c64a77

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

dockers/docker-dash-ha/supervisord.conf

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,34 @@ stderr_logfile=NONE
3030
stderr_syslog=true
3131
dependent_startup=true
3232

33+
[program:wait-for-loopback]
34+
command=/usr/bin/python3 /usr/bin/wait_for_loopback.py
35+
priority=2
36+
autostart=false
37+
autorestart=false
38+
startsecs=0
39+
stdout_logfile=NONE
40+
stdout_syslog=true
41+
stderr_logfile=NONE
42+
stderr_syslog=true
43+
dependent_startup=true
44+
dependent_startup_wait_for=rsyslogd:running
45+
3346
[program:swbusd]
3447
command=/bin/bash -c 'SLOT=${DEV: -1}; exec /usr/bin/swbusd -s "$SLOT"'
35-
priority=2
48+
priority=3
3649
autostart=false
3750
autorestart=true
3851
stdout_logfile=NONE
3952
stdout_syslog=true
4053
stderr_logfile=NONE
4154
stderr_syslog=true
4255
dependent_startup=true
43-
dependent_startup_wait_for=rsyslogd:running
56+
dependent_startup_wait_for=wait-for-loopback:exited
4457

4558
[program:hamgrd]
4659
command=/bin/bash -c 'SLOT=${DEV: -1}; exec /usr/bin/hamgrd -s "$SLOT"'
47-
priority=3
60+
priority=4
4861
autostart=false
4962
autorestart=false
5063
stdout_logfile=NONE

0 commit comments

Comments
 (0)