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)
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.pidoption.Then, UWSGI can be told to reload using
uwsgi --reload /tmp/uwsgi.pidBackground: 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
stepsin GHA yaml after UWSGI started) seems not very clean.(I can create the PR if this is accepted)