e2f5b5ad1c4bd9af7e2b0141b86b027d6a268ae7
[fnpdjango.git] / fnpdjango / deploy / templates / gunicorn.template
1 CONFIG = {
2     'mode': 'wsgi',
3     'working_dir': '%(full_django_root)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 }