Skip to content

Commit

Permalink
Allow user to specify node name on launch
Browse files Browse the repository at this point in the history
NODE_NAME='blah@127.0.0.1' ./bin/start xxxx
  • Loading branch information
JamesPiechota committed Sep 20, 2024
1 parent 121ff70 commit d42664f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/arweave.env
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ else
fi

export ERL_EPMD_ADDRESS=127.0.0.1
export NODE_NAME='arweave@127.0.0.1'
if [ -z "${NODE_NAME}" ]; then
export NODE_NAME='arweave@127.0.0.1'
fi

# +A200: emulator number of threads in the Async long thread pool for linked in drivers;
# mostly unused
Expand Down

0 comments on commit d42664f

Please sign in to comment.