Add initial worker docs.

This commit is contained in:
David Shrewsbury
2012-10-16 13:15:36 -07:00
parent 7d05228d81
commit cb9f30c5ea
3 changed files with 43 additions and 0 deletions

View File

@@ -3,3 +3,5 @@ Load Balancer as a Service Device Tools
.. toctree::
:maxdepth: 2
worker/index

34
doc/worker/config.rst Normal file
View File

@@ -0,0 +1,34 @@
Configuration
=============
.. option:: -c <FILE>, --config <FILE>
Load options from the specified configuration file. Command line
options will take precedence over any options specified in the
configuration file.
.. option:: -d, --debug
Enable debugging output.
.. option:: --driver <DRIVER>
Load balancer driver to use. Valid driver options are:
* *haproxy* - `HAProxy <http://haproxy.1wt.eu>`_ software load balancer.
This is the default driver.
.. option:: -h, --help
Show the help message and quit.
.. option:: -n, --nodaemon
Do not run as a daemon. This option is useful for debugging purposes
only as the worker is intended to be run as a daemon normally.
.. option:: -v, --verbose
Enable verbose output. Normally, only errors are logged. This enables
additional logging, but not as much as the :option:`-d` option.

7
doc/worker/index.rst Normal file
View File

@@ -0,0 +1,7 @@
Libra Gearman Worker
====================
.. toctree::
:maxdepth: 2
config