-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow controlling the task stop signal #1755
Comments
Looks like this is currently hardcoded, but I agree it should be configurable. |
This is more generic, docker driver got the same problem. Redis for example uses |
Recent example(s) SIGINT is quick shutdown for nginx, where SIGQUIT will be graceful "let requests finish up" signal. Very similar to PHP-FPM, Redis and ElasticSearch too :) |
A tool I work with only interprets SIGTERM as "graceful" termination. It dies without invoking its cleanup procedures when it catches SIGQUIT. Given that the template stanza is actually implementing this functionality, what's blocking this? |
Were useful feature indeed. I'm using containerpilot, so i have preStop and postStop steps, totally depending on SIGTERM signal + graceful timeout for it to complete. |
Could this be added to 0.6? |
@nugend Definitely will be in a 0.6.x release. |
@dadgar Is it confirmed that this will be in 0.6.x release? Thanks |
Still shooting for 0.6.X, not 0.6.0. |
I see that 0.7 is now in the works. Is this story going to be included in that release or is it still targeted for a 0.6.X release? |
@dadgar will this make it to 0.7 ? and is it actually possible to control for Docker containers? |
I know that this isn't like a platform priority for you guys, but this would let me throw out some very janky shell scripting. |
@jippi I think this can be closed now. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
It would be nice to have a
kill_singal
config for tasks as not all programs react nicely toSIGINT
:)Example
php-fpm
handle signals like thiswhere SIGINT will cause the process to die right away (not cleaning up), dropping any ongoing requests and give downtime / errors to the user
The text was updated successfully, but these errors were encountered: