erlware / relx

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

updates to start script for otp 23.1 #829

Closed tsloughter closed 3 years ago

tsloughter commented 3 years ago

If erts 11.1 or above is used then undefined is to be used for the longname in remsh. This results in a generated node name.

When ERL_DIST_PORT is set and no start_epmd argument is found in the vm args file and the erts is 11.1 or newer then add start_epmd false to the dist args automatically.

This means on the latest Erlang the user needs to only set ERL_DIST_PORT to get a static port for the node and disable epmd.

tsloughter commented 3 years ago

I really thought I added the newline trim when erl_call is used in order to match nodetool... but apparently not because I've had to remove it.