1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00

move also gunicorn_conf.py in scripts directory

This commit is contained in:
dingedi 2023-01-12 14:57:18 +01:00
parent 9eb2d34971
commit 74be246c74
No known key found for this signature in database
GPG Key ID: EE23A12D271A3CED
2 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ If you use Gunicorn, make sure to create a directory for storing multiprocess da
mkdir -p /tmp/prometheus_data mkdir -p /tmp/prometheus_data
rm /tmp/prometheus_data/* rm /tmp/prometheus_data/*
export PROMETHEUS_MULTIPROC_DIR=/tmp/prometheus_data export PROMETHEUS_MULTIPROC_DIR=/tmp/prometheus_data
gunicorn -c gunicorn_conf.py --bind 0.0.0.0:5000 'wsgi:app(metrics=True)' gunicorn -c scripts/gunicorn_conf.py --bind 0.0.0.0:5000 'wsgi:app(metrics=True)'
``` ```
## Language Bindings ## Language Bindings