[erlang-questions] Starting Erlang as a Unix daemon
Sat Jan 10 18:49:10 CET 2009
Serge Aleynikov <saleyn@REDACTED> writes:
> Actually there are already tools that can help you with this task.
> Use run_erl (http://www.erlang.org/doc/apps/erts/index.html) in order to
> start your node (without providing the -daemon option). In your shell
> script run run_erl as a background task, and use erl_call (from
> erl_interface) to attempt connecting to the node or alternatively just
> grep the erlang.log.1 (produced by run_erl) for expected successful
> startup message.
i belive there is an option to start yaws in this fashion, that
might be used as an example.
More information about the erlang-questions