From 92ce484a0fc533d15e369e3c08a66b1ebde10031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20J=C3=B6rg=20Schmidt?= Date: Tue, 5 Apr 2022 12:43:14 +0200 Subject: [PATCH] doc: describe ini file ordering ini files in `*.d` directories are sorted by filename. --- src/config/intro.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/intro.rst b/src/config/intro.rst index fcd52444..483b1a5c 100644 --- a/src/config/intro.rst +++ b/src/config/intro.rst @@ -28,6 +28,10 @@ in the following order: #. ``etc/local.ini`` #. ``etc/local.d/*.ini`` +Configuration files in the ``*.d/`` directories are sorted by name, that means +for example a file with the name ``etc/local.d/00-shared.ini`` is loaded before +``etc/local.d/10-server-specific.ini``. + All paths are specified relative to the CouchDB installation directory: ``/opt/couchdb`` recommended on UNIX-like systems, ``C:\CouchDB`` recommended on Windows systems, and a combination of two directories on macOS: