couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [19/32] git commit: updated refs/heads/1781-reorganize-and-improve-docs to 11fd32a
Date Fri, 14 Jun 2013 08:25:16 GMT
Describe os_daemon config sections.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/b1f5b1db
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b1f5b1db
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/b1f5b1db

Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: b1f5b1dbbe38f1df1438299168a541f02d253850
Parents: af1003e
Author: Alexander Shorin <kxepal@apache.org>
Authored: Wed Jun 12 15:55:25 2013 +0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Wed Jun 12 16:06:30 2013 +0400

----------------------------------------------------------------------
 share/doc/src/config/os-daemons.rst | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/b1f5b1db/share/doc/src/config/os-daemons.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/config/os-daemons.rst b/share/doc/src/config/os-daemons.rst
index 3bde3aa..8f8611d 100644
--- a/share/doc/src/config/os-daemons.rst
+++ b/share/doc/src/config/os-daemons.rst
@@ -21,7 +21,8 @@ This is a simple feature that allows users to configure CouchDB so that
it
 maintains a given OS level process alive. If the process dies for any reason,
 CouchDB will restart it. If the process restarts too often, then CouchDB will
 mark it has halted and not attempt to restart it. The default max restart rate
-is ``3`` times in the last ``5`` seconds. These parameters are adjustable.
+is ``3`` times in the last ``5`` seconds. These parameters are
+:ref:`adjustable <config/os_daemons_settings>`.
 
 Commands that are started in this manner will have access to a simple
 API over stdio to request configuration parameters or to add log
@@ -94,3 +95,32 @@ see :ref:`http-proxying`. For further background on the OS Daemon service,
see
 `CouchDB Externals API`_.
 
 .. _CouchDB Externals API: http://davispj.com/2010/09/26/new-couchdb-externals-api.html
+
+
+.. _config/os_daemons_settings:
+
+``[os_daemon_settings]`` :: OS Daemons settings
+===============================================
+
+.. _config/os_daemons_settings/max_retries:
+
+``max_retries`` :: Maximum restart retries
+------------------------------------------
+
+Specifies maximum attempts to run :ref:`os_daemon <config/os_daemons>` before
+mark him halted::
+
+  [os_daemon_settings]
+  max_retries = 3
+
+
+.. _config/os_daemons_settings/retry_time:
+
+``retry_time`` :: Delay between restart attempts
+------------------------------------------------
+
+Delay in seconds between :ref:`os_daemon <config/os_daemons>` restarts::
+
+  [os_daemon_settings]
+  retry_time = 5
+


Mime
View raw message