Automated graceful reload of gunicorn in production
Add the following to the systemd service file for gunicorn
, or add it as an override:
ExecReload=/bin/kill -HUP $MAINPID
You can then reload with systemctl reload gunicorn
.
Add the following to the systemd service file for gunicorn
, or add it as an override:
ExecReload=/bin/kill -HUP $MAINPID
You can then reload with systemctl reload gunicorn
.