summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSergey Stankevich <sergey.stankevich@gmail.com>2012-11-08 07:11:56 -0500
committerSergey Stankevich <sergey.stankevich@gmail.com>2012-11-08 07:11:56 -0500
commit63b4288450a3165cbd15e04fc9480fd16ff53885 (patch)
tree9928bf7c339ec13f1d5d8bc28a857aab49fda573 /templates
parent91b595de937e938807d942d650dde3cd5f45f2ec (diff)
Adding pip; modifying Gunicorn template for Django
Diffstat (limited to 'templates')
-rw-r--r--templates/gunicorn.erb2
1 files changed, 2 insertions, 0 deletions
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 -%>
),
}