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

Listen for sigterm, so launcher can shut down gracefully on launchd unload #1376

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

RebeccaMahany
Copy link
Contributor

We don't get shutdown logs in launcher right now because launcher is not listening for SIGTERM, which is what launchd will send launcher when shutting it down. With this update, launcher will a) log its shutdown, making logs easier to understand; and b) attempt a graceful shutdown via the rungroup actors.

@RebeccaMahany RebeccaMahany marked this pull request as ready for review September 29, 2023 19:11
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Sep 29, 2023
Merged via the queue into kolide:main with commit ae1f462 Sep 29, 2023
25 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/listen-for-sigterm branch September 29, 2023 19:43
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.

3 participants