You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Luis F Urrea <lf...@gmail.com> on 2017/07/26 23:41:10 UTC

Config files dir & LOCALCONFDIR

Hi all,

I am working on building a habitat.sh package for CouchDB2.0 and make it
configurable.

I am having a hard time getting CouchDB reading from config files at a path
different from rel/couchdb/etc.

default.ini
local.ini

The documentation states this may be configured at buildtime through the
LOCALCONFDIR variable, but my findings tell me it mey not be the case
anymore.

I have searched through the code but can't quite figure out where this is
configured.

Your help is highly appreciated.

Best,

Luis

Re: Config files dir & LOCALCONFDIR

Posted by Joan Touzet <wo...@apache.org>.
Hi Luis,

Our documentation around configuration needs updating, thanks for the report.

No need to change anything at build time - just at runtime.

export ERL_FLAGS="-couch_ini /myinstance1/default.ini /myinstance1/local.ini"
will work. You can also modify the etc/vm.args file to include these arguments.

-Joan

----- Original Message -----
From: "Luis F Urrea" <lf...@gmail.com>
To: dev@couchdb.apache.org
Sent: Wednesday, July 26, 2017 7:41:10 PM
Subject: Config files dir & LOCALCONFDIR

Hi all,

I am working on building a habitat.sh package for CouchDB2.0 and make it
configurable.

I am having a hard time getting CouchDB reading from config files at a path
different from rel/couchdb/etc.

default.ini
local.ini

The documentation states this may be configured at buildtime through the
LOCALCONFDIR variable, but my findings tell me it mey not be the case
anymore.

I have searched through the code but can't quite figure out where this is
configured.

Your help is highly appreciated.

Best,

Luis