Commit d0a490ce by Xavier Antoviaque

supervisor-ora: Allow to configure LANG for ora (`ORA_LANG`)

parent e0293ffb
......@@ -48,6 +48,7 @@ ORA_DEBUG: false
ORA_SYSLOG_SERVER: "localhost"
ORA_USE_S3_TO_STORE_MODELS: false
ORA_S3_BUCKETNAME: "openended-prod"
ORA_LANG: "en_US.UTF-8"
ORA_USERS:
"xqueue_pull": "password"
......
......@@ -5,8 +5,7 @@ command={{ ora_venv_bin }}/gunicorn --preload -b {{ ora_gunicorn_host }}:{{ ora_
user={{ common_web_user }}
directory={{ ora_code_dir }}
# TODO: Make LANG a configuration variable
environment=PID=/var/run/gunicorn/edx-ora.pid,WORKERS={{ ora_gunicorn_workers }},PORT={{ ora_gunicorn_port }},ADDRESS={{ ora_gunicorn_host }},LANG=en_US.UTF-8,DJANGO_SETTINGS_MODULE=edx_ora.aws,SERVICE_VARIANT=ora,NLTK_DATA={{ ora_nltk_data_dir }}
environment=PID=/var/run/gunicorn/edx-ora.pid,WORKERS={{ ora_gunicorn_workers }},PORT={{ ora_gunicorn_port }},ADDRESS={{ ora_gunicorn_host }},LANG={{ ORA_LANG }},DJANGO_SETTINGS_MODULE=edx_ora.aws,SERVICE_VARIANT=ora,NLTK_DATA={{ ora_nltk_data_dir }}
stdout_logfile={{ supervisor_log_dir }}/%(program_name)-stdout.log
stderr_logfile={{ supervisor_log_dir }}/%(program_name)-stderr.log
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment