Python Django Nginx Gunicorn

Django code not updated after source update.

Jenkins, after code update, we need to restart gunicorn.

When the code is updated, there’s no need to restart nginx; instead, gunicorn is restarted (not so prettily) with:

kill -HUP <main gunicorn process id>