You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2020/05/22 10:01:49 UTC

[couchdb-documentation] 01/01: feat: clarify paths on snap

This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch feat/snap
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 3f8578f672509b09f8318cb0b475d1b84ade9738
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Fri May 22 12:01:33 2020 +0200

    feat: clarify paths on snap
---
 src/install/snap.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/install/snap.rst b/src/install/snap.rst
index 1276847..904ce65 100644
--- a/src/install/snap.rst
+++ b/src/install/snap.rst
@@ -31,6 +31,12 @@ After `installing snapd`_, the CouchDB snap can be installed via::
 CouchDB will be installed at ``/snap/couchdb``. Data will be stored at
 ``/var/snap/couchdb/``.
 
+Please note that all other file system paths are **relative to the snap
+`chroot`** instead of the system root. In addition, the exact path
+depends on your system. For example, when you normally want to
+reference `/opt/couchdb/etc/local.ini`, under snap, this could live at
+`/snap/couchdb/5/opt/couchdb/etc/local.ini`.
+
 **Your installation is not complete. Be sure to complete the**
 :ref:`Setup <setup>` **steps for a single node or clustered installation.**