hashicorp / hashicorp/consul

lock: custom terminate signal

Open
#3,615 0 comments 0 reactions 0 assignees View on GitHub
theme/cli type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

Would be great to add custom signal to use when terminating the service. Currently, only a `SIGTERM` is sent.

Some app are able to reconfigure themselves moving from the "master" state to a "slave" state by sending a custom signal, there is no need to kill them.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by locating the service termination path and its current SIGTERM handling, then determine how a custom signal would be configured and applied. Done means the service can use the requested signal instead of SIGTERM without killing applications that support reconfiguration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.