From 26a2e104cf26475921eadc1a46133fbbafb66cbb Mon Sep 17 00:00:00 2001 From: benoitc Date: Thu, 26 Dec 2013 13:54:35 +0100 Subject: [PATCH] fix typo --- docs/source/settings.rst | 16 ++++++++++------ gunicorn/config.py | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 162730e8..38f25ec7 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -274,9 +274,6 @@ Daemonize the Gunicorn process. Detaches the server from the controlling terminal and enters the background. -Server Mechanic ---------------- - raw_env ~~~~~~~ @@ -291,9 +288,6 @@ Pass variables to the execution environment. Ex.:: and test for the foo variable environement in your application. -Server Mechanics ----------------- - pidfile ~~~~~~~ @@ -304,6 +298,16 @@ A filename to use for the PID file. If not set, no PID file will be written. +worker_tmp_dir +~~~~~~~~~~~~~~ + +* ``--worker-tmp-dir DIR`` +* ``None`` + +A directory to use for the worker heartbeat temporary file. + +If not set, the default temporary directory will be used. + user ~~~~ diff --git a/gunicorn/config.py b/gunicorn/config.py index d0b22e9e..81912c91 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -771,7 +771,7 @@ class Daemon(Setting): class Env(Setting): name = "raw_env" action = "append" - section = "Server Mechanic" + section = "Server Mechanics" cli = ["-e", "--env"] meta = "ENV" validator = validate_list_string