Skip to content

Commit c9f62c3

Browse files
authored
Merge pull request #65 from dappnode/fix/keep_rocketpool_daemon_running
update eventlistener
2 parents 01e08b6 + 7db1395 commit c9f62c3

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)