Upgrading git-archive-all.sh
[fnpdjango.git] / fnpdjango / deploy / templates / gunicorn.template
1 CONFIG = {
2     'mode': 'wsgi',
3     'working_dir': '%(app_path)s/releases/current/%(project_name)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         'wsgi:application',
12         '--access-logfile=%(app_path)s/log/gunicorn.log',
13         '--error-logfile=%(app_path)s/log/gunicorn-error.log'.
14     ),
15 }