From: Lorin Hochstein Date: Tue, 3 Jan 2017 05:51:37 +0000 (-0800) Subject: Use gunicorn_procname in supervisor.conf.j2 X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=d6352d878179330342b9cb2d463c776b9f5a0131;p=ansiblebook.git Use gunicorn_procname in supervisor.conf.j2 --- diff --git a/ch06/playbooks/templates/supervisor.conf.j2 b/ch06/playbooks/templates/supervisor.conf.j2 index 7a7a4bb..bb52b7d 100644 --- a/ch06/playbooks/templates/supervisor.conf.j2 +++ b/ch06/playbooks/templates/supervisor.conf.j2 @@ -1,4 +1,4 @@ -[program:gunicorn_{{ proj_name }}] +[program:{{ gunicorn_procname }}] command={{ venv_path }}/bin/gunicorn -c gunicorn.conf.py -p gunicorn.pid {{ proj_app }}.wsgi:application directory={{ proj_path }} user={{ user }}