I need that the release have
--name instead of
--sname and need to pass some other env vars specific to that release.
mix release node1 =>
iex --name firstname.lastname@example.org --erl "-project port 5555 -project nodes " -S mix
mix release node2 =>
iex --name email@example.com --erl "-project port 5556 -project nodes [node1]" -S mix
How can I achieve this behaviour?
When you initiated the
release support with
mix release.init, it had created three files in
vm.args.eex is a template for erlang params, its skeleton is self-explanatory.
ERL_OPTS envoronment variable can be used.
As a future reference for whoever is reading - the environment variable is called
ERL_OPTS. See Erlang -- erl