Open xafizoff opened 5 years ago
Actually, mad
can just "generate" start script, so we can start with command
$(mad start)
just like with $(mad attach)
.
Solved with
$ mad bun beam myapp && tar -xzf myapp.tgz && chmod +x bin/start && && bin/start
No no, this is not a solution, you're right mad should do the chmod.
And mad start and mad releases are totally different things! Don't mix them in Issues.
The issue was not about start or release, it was about node name...
Yeah, but setting name in OTP release is known and trivial task by using vm.args. While MAD release (escriptized) is a bit complicated.
I didn't know about beam
-release... Anyways in dev-env it's not necessary.
it's not necessary
it could be. when you debug distributed setup (database e.g). Let this issue be open for now.
AFAIK, it is not possible to start node with the given name. Even if I set
in
vm.args
, I getnonode@nohost