From 3165b0f87f750b52b991f7ab96c9fb33d2f1c4df Mon Sep 17 00:00:00 2001
From: "Paul J. Davis"
Date: Mon, 30 Aug 2010 11:54:52 -0400
Subject: [PATCH] Fix a typo in the documentation.
Some examples had -C instead of -c for specifying the config file. Thanks
to martync@github for the report.
Fixes #86
---
doc/htdocs/deploy.html | 8 ++++----
doc/site/deploy.rst | 2 +-
examples/gunicorn_rc | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/htdocs/deploy.html b/doc/htdocs/deploy.html
index 229714cf..e449acc7 100644
--- a/doc/htdocs/deploy.html
+++ b/doc/htdocs/deploy.html
@@ -91,8 +91,8 @@ http {
features like Comet, Long polling, or Web sockets, you need to turn off the
proxy buffering. When you do this you must run with one of the async worker
classes.
-To turn off buffering, you only need to add proxy_buffering off; to your
-location block:
+To turn off buffering, you only need to add proxy_buffering off; to your
+location block:
...
location / {
@@ -124,7 +124,7 @@ $ ~/venvs/webapp/bin/easy_install -U gunicorn
$ deactivate
Then you just need to use one of the three Gunicorn scripts that was installed
-into ~/venvs/webapp/bin.
+into ~/venvs/webapp/bin.
@@ -152,7 +152,7 @@ APP=main:application
if [ -f $PID ]; then rm $PID fi
cd $ROOT
-exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP
+exec $GUNICORN -c $ROOT/gunicorn.conf.py --pidfile=$PID $APP
diff --git a/doc/site/deploy.rst b/doc/site/deploy.rst
index e46338be..a90334b3 100644
--- a/doc/site/deploy.rst
+++ b/doc/site/deploy.rst
@@ -139,7 +139,7 @@ An `example service`_ definition::
if [ -f $PID ]; then rm $PID fi
cd $ROOT
- exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP
+ exec $GUNICORN -c $ROOT/gunicorn.conf.py --pidfile=$PID $APP
Supervisor
++++++++++
diff --git a/examples/gunicorn_rc b/examples/gunicorn_rc
index c5841f73..cc1516bb 100755
--- a/examples/gunicorn_rc
+++ b/examples/gunicorn_rc
@@ -9,4 +9,4 @@ APP=main:application
if [ -f $PID ]; then rm $PID fi
cd $ROOT
-exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP
+exec $GUNICORN -c $ROOT/gunicorn.conf.py --pidfile=$PID $APP