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

fix: add sigterm handler to compose services #208

Conversation

austinvazquez
Copy link
Member

@austinvazquez austinvazquez commented Dec 27, 2024

Issue #, if available:
#202, #206

Description of changes:
This change adds a sigterm handler to compose services to efficiently allow compose down to cleanup. This change also reworks compose kill --signal test such that the services are stopped when sending SIGTERM to be more aligned with the commands functionality.

Testing done:
Ran test in runfinch/finch-core#472

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This change adds a sigterm handler to compose services to efficiently
allow compose down to cleanup. This change also reworks compose kill
--signal test such that the services are stopped when sending SIGTERM to
be more aligned with the commands functionality.

Signed-off-by: Austin Vazquez <[email protected]>
@austinvazquez austinvazquez force-pushed the add-sigterm-handler-to-compose-services branch from 1aa7813 to a733a72 Compare December 27, 2024 01:20
@austinvazquez austinvazquez merged commit ede5fbf into runfinch:main Dec 27, 2024
4 checks passed
@austinvazquez austinvazquez deleted the add-sigterm-handler-to-compose-services branch December 27, 2024 23:34
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.

2 participants