potiuk edited a comment on issue #18066:
URL: https://github.com/apache/airflow/issues/18066#issuecomment-914496541


   BTW. why do we have [bash -c exec ''] instead of just `airflow celery` (It 
would not work the same way and in both cases we need --`--single-child` but 
would not need to start bash and exec into airflow process :).
   
   Hmm I just think - the `dumb-init` behaviour is "protective" in the sense 
that it will kill everything even if you start command with `bash -c` without 
`exec` so setting `--single-user` disables the protection.  But we might as 
well tell anyone "DON'T run bash -c without exec". I think any "airflow" 
behaves responsibly and we should assume it will propagates the signals, and 
anything else is not of our concern.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to