~patrick-hetu/+junk/uwsgi

« back to all changes in this revision

Viewing changes to templates/uwsgi.ini.tmpl

  • Committer: Patrick Hetu
  • Date: 2013-11-19 00:54:13 UTC
  • Revision ID: patrick.hetu@gmail.com-20131119005413-zzqa2oj5v92127u0
initial release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#--------------------------------------------------------------
 
2
# This file is managed by Juju; ANY CHANGES WILL BE OVERWRITTEN
 
3
#--------------------------------------------------------------
 
4
[uwsgi]
 
5
master = true
 
6
vacuum = true
 
7
 
 
8
 
 
9
socket = {{ listen_ip }}:{{ port }}
 
10
processes = {{ wsgi_workers }}
 
11
protocol = {{ wsgi_worker_class }}
 
12
listen = {{ wsgi_worker_connections }}
 
13
max-requests = {{ wsgi_max_requests }}
 
14
harakiri = {{ wsgi_timeout }}
 
15
 
 
16
procname = {{ project_name }}
 
17
pythonpath = {{ python_path }}
 
18
module = {{ wsgi_wsgi_file }}:application
 
19
 
 
20
uid = {{ wsgi_user }}
 
21
gid = {{ wsgi_group }}
 
22
chdir = {{ working_dir }}
 
23
umask = {{ wsgi_umask }}
 
24
 
 
25
{% if wsgi_log_file %}
 
26
logto2 = {{ wsgi_log_file }}
 
27
{% endif %}