Skip to content

Add missing signal action descriptions to running.rst#1720

Open
krrishapatel wants to merge 2 commits into
Supervisor:mainfrom
krrishapatel:docs/add-signal-action-summary
Open

Add missing signal action descriptions to running.rst#1720
krrishapatel wants to merge 2 commits into
Supervisor:mainfrom
krrishapatel:docs/add-signal-action-summary

Conversation

@krrishapatel

Copy link
Copy Markdown

Summary

The signal action in running.rst just said "No help on signal" while every other action had proper descriptions. This adds the four signal usage patterns matching the output of help_signal in supervisorctl:

  • signal <signal name> <name> — Signal a process
  • signal <signal name> <gname>:* — Signal all processes in a group
  • signal <signal name> <name> <name> — Signal multiple processes or groups
  • signal <signal name> all — Signal all processes

Fixes #1718

On Linux, signal numbers SIGRTMIN through SIGRTMAX (typically 34-64)
are valid but have no named constants in the signal module. The
existing list comprehension only collects SIG* attributes, causing
signal_number() to reject real-time signals with "not a valid signal
number".

Extend SIGNUMS with the SIGRTMIN..SIGRTMAX range when those attributes
are available.
The signal action documentation just said "No help on signal".
Replace with proper descriptions matching the four usage patterns
from supervisorctl's help_signal output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Summary of of signal action in docs is missing

1 participant