Closed eshubin closed 6 years ago
Have you tried with {sys_config, ...}
in a list instead of as a bare tuple?
yes, that works, but if you have multiple releases with different sys.config need to make it configurable per release.
He means have you tried:
{relx, [{release, { myapp, "0.1.0" },
[myapp,
sasl],
[{sys_config, "./config/sys.config"}]
},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}].
that fixes the problem, although not obvious from documentation.
2018-04-04 17:56 GMT+03:00 Tristan Sloughter notifications@github.com:
He means have you tried:
{relx, [{release, { myapp, "0.1.0" }, [myapp, sasl], [{sys_config, "./config/sys.config"}] },
{vm_args, "./config/vm.args"}, {dev_mode, true}, {include_erts, false}, {extended_start_script, true}].
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/erlware/relx/issues/645#issuecomment-378630042, or mute the thread https://github.com/notifications/unsubscribe-auth/ABo8oQuycJIJ_8TbE7m_5C-PEpUSa5Hpks5tlN8QgaJpZM4TFewB .
Oh, sorry. It is in the list in the doc.
2018-04-04 19:02 GMT+03:00 Eugene Shubin ev.shuba@gmail.com:
that fixes the problem, although not obvious from documentation.
2018-04-04 17:56 GMT+03:00 Tristan Sloughter notifications@github.com:
He means have you tried:
{relx, [{release, { myapp, "0.1.0" }, [myapp, sasl], [{sys_config, "./config/sys.config"}] },
{vm_args, "./config/vm.args"}, {dev_mode, true}, {include_erts, false}, {extended_start_script, true}].
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/erlware/relx/issues/645#issuecomment-378630042, or mute the thread https://github.com/notifications/unsubscribe-auth/ABo8oQuycJIJ_8TbE7m_5C-PEpUSa5Hpks5tlN8QgaJpZM4TFewB .
Shall we use "let it crash principle" on wrong config file and close the issue?
rebar3 release
command crashes when overlay or sys_config section in relx is added into a specific release in rebar.config.myapp.zip Archive contains crashdump and report together with source code.