rfk/django-supervisor — pull request #27 by rassie (2012-08-07 09:23:56+00:00)
Title: Implement graceful reloading using SIGHUP

This is actually a missing feature in supervisord (https://github.com/Supervisor/supervisor/issues/53).

In addition to django-supervisor's autoreload setting, an autoreload_graceful setting is introduced, which, when set to true, sends a SIGHUP to the PIDs of the process. Successfully tested with gunicorn.