From d6352d878179330342b9cb2d463c776b9f5a0131 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Mon, 2 Jan 2017 21:51:37 -0800 Subject: [PATCH] Use gunicorn_procname in supervisor.conf.j2 --- ch06/playbooks/templates/supervisor.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} -- 2.44.0