Resolve issues with assets not found by changing to the application root directory, before starting the application.
This commit is contained in:
parent
a1eb9685c5
commit
9aacfd80f8
|
@ -1,6 +1,7 @@
|
||||||
; UWSGI for {{ nsbase_app_name }}
|
; UWSGI for {{ nsbase_app_name }}
|
||||||
[program:{{ nsbase_app_service_name }}]
|
[program:{{ nsbase_app_service_name }}]
|
||||||
user={{ nsbase_web_server_group }}
|
user={{ nsbase_web_server_group }}
|
||||||
|
directory={{ nsbase_app_root_path }}
|
||||||
command={{ nsbase_app_service_command }}
|
command={{ nsbase_app_service_command }}
|
||||||
stopsignal={{ nsbase_app_service_stop_signal }}
|
stopsignal={{ nsbase_app_service_stop_signal }}
|
||||||
stdout_logfile = {{ nsbase_web_root_path }}/logs/supervisor/{{ nsbase_app_name }}-application.log
|
stdout_logfile = {{ nsbase_web_root_path }}/logs/supervisor/{{ nsbase_app_name }}-application.log
|
||||||
|
|
Loading…
Reference in New Issue