mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Document GUNICORN_CMD_ARGS (#1425)
This commit is contained in:
parent
ab444eed50
commit
3b853b0455
@ -18,6 +18,15 @@ able to be set from a configuration file. The setting name is what should be
|
||||
used in the configuration file. The command line arguments are listed as well
|
||||
for reference on setting at the command line.
|
||||
|
||||
.. note::
|
||||
|
||||
Settings can be specified by using environment variable
|
||||
``GUNICORN_CMD_ARGS``. All avaiable command line arguments can be used.
|
||||
For example, to specify the bind address and number of workers::
|
||||
|
||||
$ GUNICORN_CMD_ARGS="--bind=127.0.0.1 --workers=3" gunicorn app:app
|
||||
|
||||
.. versionadded:: 19.7
|
||||
"""
|
||||
ISSUE_URI = 'https://github.com/benoitc/gunicorn/issues/%s'
|
||||
PULL_REQUEST_URI = 'https://github.com/benoitc/gunicorn/pull/%s'
|
||||
|
||||
@ -64,6 +64,9 @@ Commonly Used Arguments
|
||||
adjust the name of Gunicorn process as they appear in the process system
|
||||
table (which affects tools like ``ps`` and ``top``).
|
||||
|
||||
Settings can be specified by using environment variable
|
||||
:ref:`GUNICORN_CMD_ARGS <settings>`.
|
||||
|
||||
See :ref:`configuration` and :ref:`settings` for detailed usage.
|
||||
|
||||
.. _setproctitle: http://pypi.python.org/pypi/setproctitle/
|
||||
|
||||
@ -10,6 +10,13 @@ able to be set from a configuration file. The setting name is what should be
|
||||
used in the configuration file. The command line arguments are listed as well
|
||||
for reference on setting at the command line.
|
||||
|
||||
.. note::
|
||||
|
||||
Settings can be specified by using environment variable
|
||||
``GUNICORN_CMD_ARGS``. All avaiable command line arguments can be used.
|
||||
For example, to specify the bind address and number of workers::
|
||||
|
||||
$ GUNICORN_CMD_ARGS="--bind=127.0.0.1 --workers=3" gunicorn app:app
|
||||
Config File
|
||||
-----------
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user