[PR #17] [CLOSED] Handle signals and gracefully shut down #62

Closed
opened 2026-02-26 18:33:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/decke/smtprelay/pull/17
Author: @JonathonReinhart
Created: 3/13/2021
Status: Closed

Base: masterHead: handle-signals


📝 Commits (1)

  • cda8bbe Handle signals and gracefully shut down

📊 Changes

1 file changed (+40 additions, -5 deletions)

View changed files

📝 main.go (+40 -5)

📄 Description

Handle SIGINT, SIGQUIT, and SIGTERM by gracefully shutting down.

This PR is a result of discussions on #13 and is based loosely on grafana#11.

Follows #15.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/decke/smtprelay/pull/17 **Author:** [@JonathonReinhart](https://github.com/JonathonReinhart) **Created:** 3/13/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `handle-signals` --- ### 📝 Commits (1) - [`cda8bbe`](https://github.com/decke/smtprelay/commit/cda8bbeda2c7fc2575b563896fcd8f47ff9760cc) Handle signals and gracefully shut down ### 📊 Changes **1 file changed** (+40 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+40 -5) </details> ### 📄 Description Handle SIGINT, SIGQUIT, and SIGTERM by gracefully shutting down. This PR is a result of discussions on #13 and is based loosely on grafana#11. Follows #15. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:33:13 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/smtprelay#62
No description provided.