fix
[fnpdjango.git] / fnpdjango / deploy / templates / gunicorn.template
1 CONFIG = {
2     'mode': 'wsgi',
3     'working_dir': '%(app_path)s/releases/current/%(django_root_path)s',
4     'python': '%(app_path)s/ve/bin/python',
5     'user': '%(user)s',
6     'group': '%(user)s',
7     'args': (
8         '--bind=unix:/tmp/gunicorn-%(project_name)s.socket',
9         '--workers=1',
10         '--timeout=180',
11         '%(project_name)s.wsgi:application',
12         '--access-logfile=%(app_path)s/log/gunicorn.log',
13         '--error-logfile=%(app_path)s/log/gunicorn-error.log',
14     ),
15 }