You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
Looking through the miner shell script in bin, it accommodates the use of the env var ERL_DIST_PORT, but running miner daemon will never complete if I set ERL_DIST_PORT. My end goal is to not start EPMD but just set a port. Setting a port for distributed erlang by default skips the startup of EPMD in the miner shell script. I am wondering if there's some guidance that could be given as to the best way to use this method?
Here in the miner shell script:
# line 666 in miner if [ "$ERL_DIST_PORT" ];thenif [ "11.1"="$(printf "%s\n11.1""${ERTS_VSN}"| sort -V | head -n1)" ] ;then# unless set by the user, set start_epmd to false when ERL_DIST_PORT is usedif [ !"$START_EPMD" ];then
EXTRA_DIST_ARGS="-erl_epmd_port ${ERL_DIST_PORT} -start_epmd false"else
EXTRA_DIST_ARGS="-erl_epmd_port ${ERL_DIST_PORT}"fielse
EXTRA_DIST_ARGS="-kernel inet_dist_listen_min ${ERL_DIST_PORT} -kernel inet_dist_listen_max ${ERL_DIST_PORT}"fifi
This discussion was converted from issue #1438 on May 18, 2022 19:21.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Looking through the miner shell script in bin, it accommodates the use of the env var ERL_DIST_PORT, but running
miner daemon
will never complete if I set ERL_DIST_PORT. My end goal is to not start EPMD but just set a port. Setting a port for distributed erlang by default skips the startup of EPMD in the miner shell script. I am wondering if there's some guidance that could be given as to the best way to use this method?Here in the miner shell script:
Beta Was this translation helpful? Give feedback.
All reactions