[erlang-questions] reltool and env vars

Eric Moritz eric@REDACTED
Sat Jun 22 03:05:35 CEST 2013


You can use reltool's overlay/template functionality to generate a .config
file that your startup script can use

Riak does this if you want to see how it is done.

https://github.com/basho/riak/blob/master/rel/reltool.config#L83

Somewhere in Erlang.orgs docs there is a description of all these options
but I'm having trouble finding it on my phone.
On Jun 21, 2013 7:41 PM, "Tiago Cury" <tcury@REDACTED> wrote:

> FIXED: I put these variables in my ebin/application.app file. ;-)
>
> And about the mnesia dir ?
> On Jun 21, 2013, at 7:16 PM, Tiago Cury <tcury@REDACTED> wrote:
>
> > Hi, how can I configure the retool to add these environment variables to
> my release startup file?
> >
> > INSTANCE=backuper1
> > PORT=8080
> > TX_PORT=8081
> >
> > thanks, Tiago.
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130621/52e84c45/attachment.htm>


More information about the erlang-questions mailing list