diff --git a/doc/index.rst b/doc/index.rst index 6fd21965..ee0bf482 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -3,3 +3,5 @@ Load Balancer as a Service Device Tools .. toctree:: :maxdepth: 2 + + worker/index \ No newline at end of file diff --git a/doc/worker/config.rst b/doc/worker/config.rst new file mode 100644 index 00000000..79d1da0b --- /dev/null +++ b/doc/worker/config.rst @@ -0,0 +1,34 @@ +Configuration +============= + + .. option:: -c , --config + + 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 + + Load balancer driver to use. Valid driver options are: + + * *haproxy* - `HAProxy `_ 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. + diff --git a/doc/worker/index.rst b/doc/worker/index.rst new file mode 100644 index 00000000..6ff9d819 --- /dev/null +++ b/doc/worker/index.rst @@ -0,0 +1,7 @@ +Libra Gearman Worker +==================== + +.. toctree:: + :maxdepth: 2 + + config \ No newline at end of file