mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix versionadded value and tweak --paste-global docs
This commit is contained in:
parent
7315721a37
commit
9e311e1838
@ -1053,13 +1053,13 @@ raw_paste_global_conf
|
|||||||
* ``--paste-global CONF``
|
* ``--paste-global CONF``
|
||||||
* ``[]``
|
* ``[]``
|
||||||
|
|
||||||
Set a PasteDeploy global config variable (key=value).
|
Set a PasteDeploy global config variable in ``key=value`` form.
|
||||||
|
|
||||||
The option can be specified multiple times.
|
The option can be specified multiple times.
|
||||||
|
|
||||||
The variables are passed to the the PasteDeploy entrypoint. Ex.::
|
The variables are passed to the the PasteDeploy entrypoint. Example::
|
||||||
|
|
||||||
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
||||||
|
|
||||||
.. versionadded:: 20.0
|
.. versionadded:: 19.7
|
||||||
|
|
||||||
|
|||||||
@ -1842,13 +1842,13 @@ class PasteGlobalConf(Setting):
|
|||||||
default = []
|
default = []
|
||||||
|
|
||||||
desc = """\
|
desc = """\
|
||||||
Set a PasteDeploy global config variable (key=value).
|
Set a PasteDeploy global config variable in ``key=value`` form.
|
||||||
|
|
||||||
The option can be specified multiple times.
|
The option can be specified multiple times.
|
||||||
|
|
||||||
The variables are passed to the the PasteDeploy entrypoint. Ex.::
|
The variables are passed to the the PasteDeploy entrypoint. Example::
|
||||||
|
|
||||||
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
||||||
|
|
||||||
.. versionadded:: 20.0
|
.. versionadded:: 19.7
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user