how to name processes.

This commit is contained in:
benoitc 2010-02-22 19:06:27 +01:00
parent aea5133183
commit b7759a5d75
2 changed files with 5 additions and 0 deletions

View File

@ -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>

View File

@ -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.