fix gunicorn sample upload failing when optional setting 'django_root_path' is not set
[fnpdjango.git] / fnpdjango / deploy / templates / gunicorn.template
index 40e4bd9..4a70ba9 100644 (file)
@@ -1,6 +1,6 @@
 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',