Skip to content

Commit bc00075

Browse files
committed
Fixed django#19208 -- Docs for mod_wsgi daemon mode
Thanks Graham Dumpleton for the patch.
1 parent d30516e commit bc00075

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/howto/deployment/wsgi/modwsgi.txt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,20 @@ Using mod_wsgi daemon mode
8888
==========================
8989

9090
"Daemon mode" is the recommended mode for running mod_wsgi (on non-Windows
91-
platforms). See the `official mod_wsgi documentation`_ for details on setting
92-
up daemon mode. The only change required to the above configuration if you use
93-
daemon mode is that you can't use ``WSGIPythonPath``; instead you should use
94-
the ``python-path`` option to ``WSGIDaemonProcess``, for example::
91+
platforms). To create the required daemon process group and delegate the
92+
Django instance to run in it, you will need to add appropriate
93+
``WSGIDaemonProcess`` and ``WSGIProcessGroup`` directives. A further change
94+
required to the above configuration if you use daemon mode is that you can't
95+
use ``WSGIPythonPath``; instead you should use the ``python-path`` option to
96+
``WSGIDaemonProcess``, for example::
9597

9698
WSGIDaemonProcess example.com python-path=/path/to/mysite.com:/path/to/venv/lib/python2.7/site-packages
99+
WSGIProcessGroup example.com
100+
101+
See the official mod_wsgi documentation for `details on setting up daemon
102+
mode`_.
103+
104+
.. _details on setting up daemon mode: http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process
97105

98106
.. _serving-files:
99107

0 commit comments

Comments
 (0)