fnp
/
fnpdjango.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix top directory issue (again)
[fnpdjango.git]
/
fnpdjango
/
deploy
/
templates
/
gunicorn.template
diff --git
a/fnpdjango/deploy/templates/gunicorn.template
b/fnpdjango/deploy/templates/gunicorn.template
index
5cf60f4
..
4a70ba9
100644
(file)
--- a/
fnpdjango/deploy/templates/gunicorn.template
+++ b/
fnpdjango/deploy/templates/gunicorn.template
@@
-1,6
+1,6
@@
CONFIG = {
'mode': 'wsgi',
CONFIG = {
'mode': 'wsgi',
- 'working_dir': '%(app_path)s/releases/current/%(
project_name
)s',
+ 'working_dir': '%(app_path)s/releases/current/%(
django_root_path
)s',
'python': '%(app_path)s/ve/bin/python',
'user': '%(user)s',
'group': '%(user)s',
'python': '%(app_path)s/ve/bin/python',
'user': '%(user)s',
'group': '%(user)s',
@@
-8,8
+8,8
@@
CONFIG = {
'--bind=unix:/tmp/gunicorn-%(project_name)s.socket',
'--workers=1',
'--timeout=180',
'--bind=unix:/tmp/gunicorn-%(project_name)s.socket',
'--workers=1',
'--timeout=180',
- 'wsgi:application',
+ '
%(project_name)s.
wsgi:application',
'--access-logfile=%(app_path)s/log/gunicorn.log',
'--access-logfile=%(app_path)s/log/gunicorn.log',
- '--error-logfile=%(app_path)s/log/gunicorn-error.log'
.
+ '--error-logfile=%(app_path)s/log/gunicorn-error.log'
,
),
}
),
}