I have a rebar application called pingpong. After rebar generate
I start the packaged application using ./rel/pingpong/bin/pingpong start
. The problem is that the erlang VM always has the name -name [email protected]
but what I want is to start the application once with the name [email protected]
and then again with the name [email protected]
.
I know that the name stays in ./rel/pingpong/releases/VSN/vm.config but I don't want to manually edit the file before starting the application. I want something like pingpong start -name=ping
. Is there a way to achieve this?