Skip to content

Add ability to delay signals#285

Open
bgardner-noggin wants to merge 5 commits intoYelp:masterfrom
bgardner-noggin:master
Open

Add ability to delay signals#285
bgardner-noggin wants to merge 5 commits intoYelp:masterfrom
bgardner-noggin:master

Conversation

@bgardner-noggin
Copy link
Copy Markdown

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