fix: Allow supervisord to exit if act_runner or docker processes error
- This fixes the issue where act_runner daemon command fails, for example due to gitea instance being unavailable but supervisord process still stays running so you essentially have a zombie container. - With this fix, supervisord will exit if it detects any unexpected process exits - making so that the container will restart cleanly and not go into zombie mode. #460
This commit is contained in:
parent
ae142aed2b
commit
ebb724fef3
1 changed files with 4 additions and 0 deletions
|
@ -11,3 +11,7 @@ stdout_logfile=/dev/fd/1
|
|||
stdout_logfile_maxbytes=0
|
||||
redirect_stderr=true
|
||||
command=/opt/act/rootless.sh
|
||||
|
||||
[eventlistener:processes]
|
||||
command=bash -c "echo READY && read line && kill -SIGQUIT $PPID"
|
||||
events=PROCESS_STATE_STOPPED,PROCESS_STATE_EXITED,PROCESS_STATE_FATAL
|
Loading…
Add table
Reference in a new issue