supervisor cannot stop process of gunicorn
<p>I run my django project by gunicorn and supervisor. but I am running into a strange problem, <code>supervisorctl stop &lt;myproject&gt;</code>  can NOT stop gunicron. when I ps the process, I found the process still there.</p>

<p>gunicorn settings:</p>

<pre><code>$PROJECT_DIR/.env/bin/gunicorn ${DJANGO_WSGI_MODULE} \
--env DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE} \
--name $NAME \
--workers $NUM_WORKERS \
--worker-class $WORKER_CLASS \
--user=$USER \
--group=$GROUP \
--log-level=$LOG_LEVEL \
--bind=$SERVER_NAME:$PORT
</code></pre>

<p>supervisor settings:</p>

<pre><code>[program:myproject]
user=www
command=/var/www/apps/myproject/scripts/bin/gunicorn.sh
stopsignal=KILL
stopasgroup=true
directory=/var/www/apps/myproject
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/supervisor/gunicorn.log
</code></pre>