jeramyRR
Release stop command isn't killing the epmd service
Hi all!
I’ve built my project using MIX_ENV=prod mix release and using the following command I start up my application:
nohup rel/ram_disk_daemon/bin/ram_disk_daemon start > "$OUT_FILE" 2>&1 &
This works fine, but when I go to stop it using the command below it stops my Elixir app, but it does not kill the epmd service.
rel/ram_disk_daemon/bin/ram_disk_daemon stop
Doing a ps -ef shows the erlang service still running.
rel/ram_disk_daemon/erts-13.1.1/bin/epmd -daemon
Is this a known bug, or is there something else I’m supposed to do (something else other than manually killing the process)?
Marked As Solved
josevalim
Erlang/Elixir does not kill epmd after running. If that’s a must for you, then you could have your own scripts to start the project and that shuts down epmd afterwards. If you are not using epmd or distribution, you can also set the release to not use distribution and then epmd won’t even start.







