diff --git a/doc/htdocs/configuration.html b/doc/htdocs/configuration.html index 71f1d28d..e5f3c41f 100644 --- a/doc/htdocs/configuration.html +++ b/doc/htdocs/configuration.html @@ -27,7 +27,7 @@

gunicorn

@@ -49,7 +49,7 @@

The Configuration File

-

Gunciorn 0.5 introduced the ability to use a Python configuration file. Gunicorn will look for gunicorn.conf.py in the current working directory or what ever path is specified on the command line with the -c option.

+

Gunciorn 0.5 introduced the ability to use a Python configuration file. Gunicorn will look for gunicorn.conf.py in the current working directory or what ever path is specified on the command line with the -c option.

Example gunicorn.conf.py

@@ -86,17 +86,17 @@ def before_exec(server):
 
before_exec(server):
This function is called before relaunching the master. This happens when the master receives a HUP or USR2 signal.
bind:
-
The address on which workers are listening. It can be a TCP address with a format of IP:PORT or a Unix socket address like unix:/path/to/socketfile.
+
The address on which workers are listening. It can be a TCP address with a format of IP:PORT or a Unix socket address like unix:/path/to/socketfile.
daemon:
Whether or not to detach the server from the controlling terminal.
debug:
-
If True, only one worker will be launch and the variable wsgi.multiprocess will be set to False.
+
If True, only one worker will be launch and the variable wsgi.multiprocess will be set to False.
group:
The group in which worker processes will be launched.
logfile:
-
The path to the log file - (stdout) by default.
+
The path to the log file - (stdout) by default.
loglevel:
-
The level at which to log. info, debug, or error for instance. Only log messages of equal or greater severity are logged.
+
The level at which to log. info, debug, or error for instance. Only log messages of equal or greater severity are logged.
pidfile:
A file to store the master's PID.
umask:
diff --git a/doc/htdocs/deployment.html b/doc/htdocs/deployment.html index c4e245a4..d63a5672 100644 --- a/doc/htdocs/deployment.html +++ b/doc/htdocs/deployment.html @@ -27,7 +27,7 @@

gunicorn

diff --git a/doc/htdocs/faq.html b/doc/htdocs/faq.html index 1f7a09b9..7727fedb 100644 --- a/doc/htdocs/faq.html +++ b/doc/htdocs/faq.html @@ -27,7 +27,7 @@

gunicorn

@@ -67,8 +67,8 @@ $ kill -TTOU $masterpid
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.
+
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. Then you can name your process with -n or just let the default. If you use a configuration file you can set the process name with the proc_name option.
diff --git a/doc/htdocs/index.html b/doc/htdocs/index.html index bbb61827..57ed647c 100644 --- a/doc/htdocs/index.html +++ b/doc/htdocs/index.html @@ -27,7 +27,7 @@

gunicorn

diff --git a/doc/htdocs/installation.html b/doc/htdocs/installation.html index 4a289365..82d993b8 100644 --- a/doc/htdocs/installation.html +++ b/doc/htdocs/installation.html @@ -27,7 +27,7 @@

gunicorn

@@ -59,7 +59,7 @@

Installing with easy_install

-

If you don't already have easy_install available you'll want to download and run the ez_setup.py script:

+

If you don't already have easy_install available you'll want to download and run the ez_setup.py script:

 $ curl -O http://peak.telecommunity.com/dist/ez_setup.py
 $ sudo python ez_setup.py -U setuptools
@@ -84,7 +84,7 @@ $ git clone git://github.com/benoitc/gunicorn.git
 
 $ python setup.py install
 
-

If you've cloned the git repository, its highly recommended that you use the develop command which will allow you to use Gunicorn from the source directory. This will allow you to keep up to date with development on GitHub as well as make changes to the source:

+

If you've cloned the git repository, its highly recommended that you use the develop command which will allow you to use Gunicorn from the source directory. This will allow you to keep up to date with development on GitHub as well as make changes to the source:

 $ python setup.py develop
 
diff --git a/doc/htdocs/news.html b/doc/htdocs/news.html index 31612b07..4029a699 100644 --- a/doc/htdocs/news.html +++ b/doc/htdocs/news.html @@ -27,7 +27,7 @@

gunicorn

diff --git a/doc/htdocs/tuning.html b/doc/htdocs/tuning.html index d863f572..42b6a487 100644 --- a/doc/htdocs/tuning.html +++ b/doc/htdocs/tuning.html @@ -27,7 +27,7 @@

gunicorn

diff --git a/doc/htdocs/usage.html b/doc/htdocs/usage.html index eb70dc86..0451ab3a 100644 --- a/doc/htdocs/usage.html +++ b/doc/htdocs/usage.html @@ -27,7 +27,7 @@

gunicorn

@@ -61,7 +61,7 @@ $ cd /path/to/gunicorn/examples/ $ gunicorn --workers=2 test:application
-

The module test:application specifies the complete module name and WSGI callable. You can replace it with anything that is available on your PYTHONPATH like such:

+

The module test:application specifies the complete module name and WSGI callable. You can replace it with anything that is available on your PYTHONPATH like such:

 $ cd ~/
 $ gunicorn --workers=12 awesomeproject.wsgi.main:main_app
@@ -99,13 +99,13 @@ Options:
 

Django Projects

-

Django projects can be handled easily by Gunicorn using the gunicorn_django command:

+

Django projects can be handled easily by Gunicorn using the gunicorn_django command:

 $ cd $yourdjangoproject
 $ gunicorn_django --workers=2
 
-

But you can also use the run_gunicorn admin command like the other management.py commands.

-

Add "gunicorn" to INSTALLED_APPS in your settings file:

+

But you can also use the run_gunicorn admin command like the other management.py commands.

+

Add "gunicorn" to INSTALLED_APPS in your settings file:

 INSTALLED_APPS = (
     ...
@@ -119,12 +119,12 @@ python manage.py run_gunicorn
 

Paste-compatible projects

-

For Paste compatible projects (Pylons, TurboGears 2, ...) use the gunicorn_paste command:

+

For Paste compatible projects (Pylons, TurboGears 2, ...) use the gunicorn_paste command:

 $ cd $yourpasteproject
 $ gunicorn_paste --workers=2 development.ini
 
-

To use the paster command add a sever section for Gunicorn:

+

To use the paster command add a sever section for Gunicorn:

 [server:main]
 use = egg:gunicorn#main
diff --git a/doc/templates/base.html b/doc/templates/base.html
index 4213fddc..24a3e435 100644
--- a/doc/templates/base.html
+++ b/doc/templates/base.html
@@ -27,7 +27,7 @@
 	        

gunicorn