mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 10:11:30 +08:00
Add stop_process(name) following supervisor's stop rules: it always sets manual_stop so the companion will not auto-restart. RUNNING/STARTING are sent their stop_signal and moved to STOPPING with a stop_deadline (now + stop_timeout) for the run loop to reap or SIGKILL; BACKOFF cancels its pending retry and settles in STOPPED; STOPPED and STOPPING are success no-ops. Add _signal_number to resolve a signal name and a stop_deadline field on CompanionProcess. Add tests for the running, backoff, already-stopped, unknown, and signal-name cases. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Generate Documentation
======================
Requirements
------------
To generate documentation you need to install:
- Python >= 3.7
- Sphinx (https://www.sphinx-doc.org/)
Generate html
-------------
::
$ make html
The command generates html document inside ``build/html`` dir.