remove duplicate by just using another word.

This commit is contained in:
benoitc 2010-02-22 19:40:06 +01:00
parent 57369b38ba
commit d7341a44b5
2 changed files with 13 additions and 2 deletions

View File

@ -123,6 +123,17 @@ if [ -f $PID ]; then rm $PID fi
cd $ROOT
exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP
</pre>
<p>Another useful tool to monitor and control Gunicorn is <a class="reference external" href="http://supervisord.org">Supervisor</a>. An
<a class="reference external" href="http://github.com/benoitc/gunicorn/blob/master/examples/supervisor.conf">simple configuration</a> is:</p>
<pre class="literal-block">
[program:gunicorn]
command=/usr/local/bin/gunicorn main:application -C /path/to/project/gunicorn.conf.py
directory=/path/to/project
user=nobody
autostart=true
autorestart=true
redirect_stderr=True
</pre>
</div>
</div>

View File

@ -81,7 +81,7 @@ A popular method for deploying Gunicorn is to have it monitored by runit_. An `e
exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP
Another useful tool to monitor and control Gunicorn is Supervisor_. An
`example configuration`_ is::
`simple configuration`_ is::
[program:gunicorn]
command=/usr/local/bin/gunicorn main:application -C /path/to/project/gunicorn.conf.py
@ -96,4 +96,4 @@ Another useful tool to monitor and control Gunicorn is Supervisor_. An
.. _runit: http://smarden.org/runit/
.. _`example service`: http://github.com/benoitc/gunicorn/blob/master/examples/gunicorn_rc
.. _Supervisor: http://supervisord.org
.. _`example configuration`: http://github.com/benoitc/gunicorn/blob/master/examples/supervisor.conf
.. _`simple configuration`: http://github.com/benoitc/gunicorn/blob/master/examples/supervisor.conf