We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9290778 commit 3700b62Copy full SHA for 3700b62
preflight/run-ssh.sh
@@ -48,6 +48,6 @@ if [ ! -f /is-baking ]; then
48
sleep 1
49
done
50
51
- exit 0
+ exit 1 # Supervisord will restart.
52
fi
53
preflight/supervisord.conf
@@ -73,7 +73,8 @@ stderr_logfile_maxbytes=0
73
74
[program:ssh]
75
command=/app/run-ssh.sh
76
-autorestart=true
+autorestart=unexpected
77
+exitcodes=0,2
78
startretries=100000
79
stdout_logfile=/dev/fd/1
80
stdout_logfile_maxbytes=0
@@ -87,4 +88,4 @@ startretries=100000
87
88
89
90
stderr_logfile=/dev/fd/2
-stderr_logfile_maxbytes=0
91
+stderr_logfile_maxbytes=0
0 commit comments