01-14-2015 03:45 PM
Hi,
I am trying to use a environment variable in nuxeo.conf. I am using Ubuntu 14.04.1 LTS.
I installed Nuxeo through apt-get from the Nuxeo repository.
I added "DBHOST=localhost" to "/etc/environment" then sourced the file.
When I do "echo $DBHOST" I get the output "localhost".
Then I changed the db.host line in nuxeo.conf to "nuxeo.db.host=${DBHOST}" but when I start the server it fails because it cannot connect to the database.
It works fine if I do "nuxeo.db.host=localhost".
01-15-2015 05:51 AM
Unfortunately there is no support in nuxeo.conf
to read environment variables.
What you could do is change nuxeoctl
to upate/rewrite nuxeo.conf
with your environment variable before the normal startup.
01-15-2015 02:28 PM
From http
01-16-2015 06:48 AM
The wording is not meant to refer to OS environment variables. We'll rephrase that, thanks for the pointers.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.