[erlang-questions] how to run rebar3 release with "-config /path/my_sys.config"

Mark Geib mark.geib.44@REDACTED
Wed Oct 25 21:51:38 CEST 2017


After some more digging it looks like this works fine for starting the application in “console” or “foreground” mode, but not when I do a “start”.

Mark.

> On Oct 25, 2017, at 1:12 PM, Mark Geib <mark.geib.44@REDACTED> wrote:
> 
> I just recently migrated an erlang project to use rebar3 from rebar. With the generated rebar release I was able to start the application with “/some_path/bin/my_app start -config “/some_other_path/my_app.config” which allowed for dynamic configuration. With rebar3 I don’t seem to have the same behavior, it always uses /some_path/releases/<version>/sys.config included during the release build.
> 
> Is there a way to something equivalent in rebar3.?
> 
> Thanks,
> 
> Mark.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 528 bytes
Desc: Message signed with OpenPGP
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171025/9d7dc69a/attachment.bin>


More information about the erlang-questions mailing list