I'm starting gunicorn with the Django command python manage.py run_gunicorn
. How can I stop gunicorn properly?
Note: I have a semi-automated server deployment with fabric. Thus using something like ps aux | grep gunicorn
to kill the process manually by pid is not an option.
To see the processes is ps ax|grep gunicorn
and to stop gunicorn_django is pkill gunicorn
.