erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

dynamic vm.args broken #504

Closed jharog closed 7 years ago

jharog commented 8 years ago

It seems not possible to run multiple instances of same release with different node name anymore using RELX_REPLACE_OS_VARS=true Startup script systematically overwrites vm.args.orig with vm.args file prior to make variable replacement. Thus after first start, vm.args does not contain anymore environment variables and the feature won't work for next starts.

tsloughter commented 8 years ago

I'm not sure what you mean, it should use vm.args.orig each time and therefore still contain the environment variables.

lrascao commented 7 years ago

@jharog yeah, i know what you mean, could you please try out #527 and check if this fixes it?

lrascao commented 7 years ago

closing, please re-open if issue still persists