Elixir & Mix all want to make the server as a daemon. There have not been able to find the right way.
In addition, I want to use the erlang reltool.
Elixir & Mix all want to make the server as a daemon. There have not been able to find the right way.
In addition, I want to use the erlang reltool.
You can use the
--detached
option to start the runtime system detached from the system console. It is meant to be used for running daemons and backgrounds processes:Regarding reltool, you can use exrm although and pass
-detached
(single-
) when configuring the VM arguments. The full argument list for the runtime system can be found here: http://erlang.org/doc/man/erl.html