From 63b4288450a3165cbd15e04fc9480fd16ff53885 Mon Sep 17 00:00:00 2001 From: Sergey Stankevich Date: Thu, 8 Nov 2012 07:11:56 -0500 Subject: Adding pip; modifying Gunicorn template for Django --- templates/gunicorn.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/gunicorn.erb b/templates/gunicorn.erb index 2cf3eed..1a96531 100644 --- a/templates/gunicorn.erb +++ b/templates/gunicorn.erb @@ -30,6 +30,8 @@ CONFIG = { <% end -%> '--workers=<%= @processorcount.to_i*2 %>', '--timeout=30', +<% if mode != 'django' -%> 'app:app', +<% end -%> ), } -- cgit v1.2.3