django_root_path in gunicorn sample
authorRadek Czajka <radek.czajka@gmail.com>
Wed, 31 Jul 2013 20:15:19 +0000 (22:15 +0200)
committerRadek Czajka <radek.czajka@gmail.com>
Wed, 31 Jul 2013 20:15:19 +0000 (22:15 +0200)
fnpdjango/deploy/templates/gunicorn.template

index 40e4bd9..4a70ba9 100644 (file)
@@ -1,6 +1,6 @@
 CONFIG = {
     'mode': 'wsgi',
 CONFIG = {
     'mode': 'wsgi',
-    'working_dir': '%(app_path)s/releases/current',
+    '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',