Standard unix daemon
Sun Apr 2 02:32:00 CEST 2006
http://www.trapexit.org/docs/howto/port_and_otp.html Also describes
how to make an init script.
On Apr 1, 2006, at 6:32 PM, Serge Aleynikov wrote:
> You have several options, two of which are:
> 1. Start Erlang with -detached -noshell options
> 2. Use run_erl / start_erl to start Erlang.
> The second method is preferred.
> Pupeno wrote:
>> I have an Erlang application, it is a server, it can be started
>> with application:start(appname) and stopped with application:stop
>> (appname). Nice. But now I want to turn it into a unix/posix
>> daemon to make it easier to run it on Linux servers.
>> Here http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16 is the
>> answer to the question "How do I get my program to act like a
>> daemon?" of a Unix Programming FAQ. What of that should I do on
>> Erlang ? How ?
More information about the erlang-questions