From 9aacfd80f8df1a37a855236b630e041979e8ed08 Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Thu, 19 May 2016 08:08:18 -0400 Subject: [PATCH] Resolve issues with assets not found by changing to the application root directory, before starting the application. --- templates/app_supervisor.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/app_supervisor.conf b/templates/app_supervisor.conf index 9057cec..58ce30f 100644 --- a/templates/app_supervisor.conf +++ b/templates/app_supervisor.conf @@ -1,6 +1,7 @@ ; UWSGI for {{ nsbase_app_name }} [program:{{ nsbase_app_service_name }}] user={{ nsbase_web_server_group }} +directory={{ nsbase_app_root_path }} command={{ nsbase_app_service_command }} stopsignal={{ nsbase_app_service_stop_signal }} stdout_logfile = {{ nsbase_web_root_path }}/logs/supervisor/{{ nsbase_app_name }}-application.log