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:
parent
9eb2d34971
commit
74be246c74
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user