Skip to content

Recognize SIGTERM as well as SIGINT signal for stratisd shutdown #885

Description

@mulkieran

stratisd responds to SIGINT, but ignore SIGTERM, inviting SIGKILL. I believe it would be sensible for it to shut down in an orderly fashion with both SIGINT and SIGTERM. I believe that there may be some situations, e.g., container environments, where the systemd configuration which specifies SIGINT as the kill signal will be ignored, leading stratisd to fail to be shut down cleanly.

EDIT: ^orderly fashion with both^orderly fashion with both SIGINT and SIGTERM.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions