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

Initiate graceful server shutdown on SIGTERM #69

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

pmeijer
Copy link
Contributor

@pmeijer pmeijer commented Mar 16, 2018

Before it was only listening to SIGINT (that is when a user interrupts by e.g. hitting Ctrl+C).

Both systemd and docker sends SIGTERM signals and waits for a configurable grace period before killing (SIGKILL) the process.

@kecso kecso merged commit 8ecf4a3 into master Mar 20, 2018
@pmeijer pmeijer deleted the graceful-server-shutdown-on-sigterm branch March 28, 2018 16:21
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.

2 participants