mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
how to name processes.
This commit is contained in:
parent
aea5133183
commit
b7759a5d75
@ -69,6 +69,8 @@ $ kill -TTOUT $masterpid
|
||||
<dt>How do I set SCRIPT_NAME?</dt>
|
||||
<dd>By default <tt class="docutils literal">SCRIPT_NAME</tt> is an empy string. The value could be set by
|
||||
setting <tt class="docutils literal">SCRIPT_NAME</tt> in the environment or as an HTTP header.</dd>
|
||||
<dt>How to name processes?</dt>
|
||||
<dd>You need to install the Python package <a class="reference external" href="http://pypi.python.org/pypi/setproctitle">setproctitle</a>. Then you can name your process with <cite>-n</cite> or just let the default.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
|
||||
@ -23,3 +23,6 @@ How do I increase or decrease the number of running workers dynamically?
|
||||
How do I set SCRIPT_NAME?
|
||||
By default ``SCRIPT_NAME`` is an empy string. The value could be set by
|
||||
setting ``SCRIPT_NAME`` in the environment or as an HTTP header.
|
||||
|
||||
How to name processes?
|
||||
You need to install the Python package `setproctitle <http://pypi.python.org/pypi/setproctitle>`_. Then you can name your process with `-n` or just let the default.
|
||||
Loading…
x
Reference in New Issue
Block a user