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

Handle SIGTERM and Ctrl+C (SIGINT) gracefully #144

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Conversation

agners
Copy link
Member

@agners agners commented Sep 7, 2023

This makes sure that the landing page container exits with exit code 0. This avoids Watchdog error messages in the Supervisor logs.

While at it, also handle and log errors in case http.ListenAndServe fails.

This makes sure that the landing page container exits with exit code 0.
This avoids Watchdog error messages in the Supervisor logs.

While at it, also handle and log errors in case http.ListenAndServe
fails.
@agners agners merged commit a3d3a8c into master Sep 7, 2023
10 checks passed
@agners agners deleted the handle-signals branch September 7, 2023 09:04
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