<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use environment variable in nuxeo.conf? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319656#M6657</link>
    <description>&lt;P&gt;The wording is not meant to refer to OS environment variables. We'll rephrase that, thanks for the pointers.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jan 2015 11:48:51 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2015-01-16T11:48:51Z</dc:date>
    <item>
      <title>How to use environment variable in nuxeo.conf?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319653#M6654</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to use a environment variable in nuxeo.conf. I am using Ubuntu 14.04.1 LTS.&lt;/P&gt;
&lt;P&gt;I installed Nuxeo through apt-get from the Nuxeo repository.&lt;/P&gt;
&lt;P&gt;I added "DBHOST=localhost" to "/etc/environment" then sourced the file.&lt;/P&gt;
&lt;P&gt;When I do "echo $DBHOST" I get the output "localhost".&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;It works fine if I do "nuxeo.db.host=localhost".&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 20:45:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319653#M6654</guid>
      <dc:creator>WhileLoop_</dc:creator>
      <dc:date>2015-01-14T20:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use environment variable in nuxeo.conf?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319654#M6655</link>
      <description>&lt;P&gt;Unfortunately there is no support in &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt; to read environment variables.&lt;/P&gt;
&lt;P&gt;What you could do is change &lt;CODE&gt;nuxeoctl&lt;/CODE&gt; to upate/rewrite &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt; with your environment variable before the normal startup.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:51:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319654#M6655</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2015-01-15T10:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use environment variable in nuxeo.conf?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319655#M6656</link>
      <description>&lt;P&gt;From http&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:28:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319655#M6656</guid>
      <dc:creator>WhileLoop_</dc:creator>
      <dc:date>2015-01-15T19:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use environment variable in nuxeo.conf?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319656#M6657</link>
      <description>&lt;P&gt;The wording is not meant to refer to OS environment variables. We'll rephrase that, thanks for the pointers.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 11:48:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-use-environment-variable-in-nuxeo-conf/m-p/319656#M6657</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2015-01-16T11:48:51Z</dc:date>
    </item>
  </channel>
</rss>

