Skip to content
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

Add ability to delay signals #285

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bgardner-noggin
Copy link

These changes implement optional, user specified delays for specific signals eg

dumb-init --delay 15:30

Would delay SIGTERM being propagated to the child by 30 seconds.

This is useful for ECS tasks in AWS where we need to delay the children being shutdown until the ECS task has been deregistered from it's ALB

If any delays are specified, then signalling dumb-init with SIGALRM will not propagate the SIGALRM to the child

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant