Skip to content

Consider adding PID file for communicating with UWSGI process #130

@paulmueller

Description

@paulmueller

UWSG supports sending signals to an existing process: https://uwsgi-docs.readthedocs.io/en/latest/Management.html

To support this, one would only need to set/add the --safe-pidfile /tmp/uwsgi.pid option.

Then, UWSGI can be told to reload using uwsgi --reload /tmp/uwsgi.pid

Background: I am modifying the CKAN installation heavily via plugins and would like to ensure UWSGI picks up those changes. My tests run through on GitHub Actions, but the current situation (Modifying CKAN installation via steps in GHA yaml after UWSGI started) seems not very clean.

(I can create the PR if this is accepted)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions