Skip to content

Commit 7db1395

Browse files
committed
update eventlistener
1 parent b46ad30 commit 7db1395

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/supervisord.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ stdout_logfile_maxbytes=0
3636
stderr_logfile=/dev/stderr
3737
stderr_logfile_maxbytes=0
3838

39-
[eventlistener:processes]
40-
command=/usr/local/bin/stop-supervisor.sh
41-
events=PROCESS_STATE_STOPPED, PROCESS_STATE_FATAL
39+
[eventlistener:quit_on_failure]
40+
events=PROCESS_STATE_FATAL
41+
command=/bin/bash -c "echo READY; while read line; do kill $PPID; sleep 300; kill -9 $PPID; done"

0 commit comments

Comments
 (0)