]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Update config file search paths to reflect reality 19882/head
authorAdam Wolfe Gordon <awg@digitalocean.com>
Tue, 9 Jan 2018 23:07:53 +0000 (23:07 +0000)
committerAdam Wolfe Gordon <awg@digitalocean.com>
Tue, 9 Jan 2018 23:07:53 +0000 (23:07 +0000)
The config file paths listed in the docs don't match the config file
paths actually searched by ceph (see `src/common/config.cc`). Update the
docs to reflect the current reality.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
doc/rados/configuration/ceph-conf.rst

index d0fd36623f92628c9333a48509a90cf06fb9820f..988f525d2f8dda2779ee5adcb360f0ae0865b8ce 100644 (file)
@@ -44,10 +44,12 @@ The default Ceph configuration file locations in sequential order include:
 #. ``$CEPH_CONF`` (*i.e.,* the path following the ``$CEPH_CONF`` 
    environment variable)
 #. ``-c path/path``  (*i.e.,* the ``-c`` command line argument)
-#. ``/etc/ceph/ceph.conf``
-#. ``~/.ceph/config``
-#. ``./ceph.conf`` (*i.e.,* in the current working directory)
+#. ``/etc/ceph/$cluster.conf``
+#. ``~/.ceph/$cluster.conf``
+#. ``./$cluster.conf`` (*i.e.,* in the current working directory)
+#. On FreeBSD systems only, ``/usr/local/etc/ceph/$cluster.conf``
 
+where ``$cluster`` is the cluster's name (default ``ceph``).
 
 The Ceph configuration file uses an *ini* style syntax. You can add comments 
 by preceding comments with a pound sign (#) or a semi-colon (;).  For example: