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

main: Gracefully shutdown on SIGTERM or SIGINT #613

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

ansasaki
Copy link
Contributor

@ansasaki ansasaki commented Jul 6, 2023

Add support for shutting down on SIGTERM.

Resolves: #612

Add support for shutting down on SIGTERM.

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Merging #613 (5bbed9d) into master (636c80a) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files
Flag Coverage Δ
e2e-testsuite 59.56% <100.00%> (+0.08%) ⬆️
upstream-unit-tests 59.92% <0.00%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
keylime-agent/src/main.rs 37.04% <100.00%> (+1.23%) ⬆️

@ansasaki ansasaki merged commit 9f7c159 into keylime:master Jul 7, 2023
@ansasaki ansasaki deleted the sigterm branch July 7, 2023 07:49
@ansasaki
Copy link
Contributor Author

@mheese This should allow you to remove special handling of the agent termination

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

Successfully merging this pull request may close these issues.

The agent should graceful shutdown on SIGTERM
5 participants