mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
make config doc more explicit
explicit what we mean by "not need to be importable".
This commit is contained in:
parent
9a3e008eca
commit
b4e52c181a
@ -53,9 +53,9 @@ Configuration File
|
|||||||
|
|
||||||
The configuration file should be a valid Python source file with a **python
|
The configuration file should be a valid Python source file with a **python
|
||||||
extension** (e.g. `gunicorn.conf.py`). It only needs to be readable from the
|
extension** (e.g. `gunicorn.conf.py`). It only needs to be readable from the
|
||||||
file system. More specifically, it does not need to be importable. Any Python
|
file system. More specifically, it does not have to be on the module path
|
||||||
is valid. Just consider that this will be run every time you start Gunicorn
|
(sys.path, PYTHONPATH). Any Python is valid. Just consider that this will be
|
||||||
(including when you signal Gunicorn to reload).
|
run every time you start Gunicorn (including when you signal Gunicorn to reload).
|
||||||
|
|
||||||
To set a parameter, just assign to it. There's no special syntax. The values
|
To set a parameter, just assign to it. There's no special syntax. The values
|
||||||
you provide will be used for the configuration values.
|
you provide will be used for the configuration values.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user