mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 12:55:54 +03:00
[PR #17] [CLOSED] Handle signals and gracefully shut down #62
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/smtprelay#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/decke/smtprelay/pull/17
Author: @JonathonReinhart
Created: 3/13/2021
Status: ❌ Closed
Base:
master← Head:handle-signals📝 Commits (1)
cda8bbeHandle 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.