Standard unix daemon

orbitz@REDACTED orbitz@REDACTED
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
>
> http://www.erlang.org/doc/doc-5.4.13/erts-5.4.13/doc/html/erl.html
>
> 2. Use run_erl / start_erl to start Erlang.
>
> http://www.erlang.org/doc/doc-5.4.13/erts-5.4.13/doc/html/run_erl.html
>
> The second method is preferred.
>
> Serge
>
> Pupeno wrote:
>> Hello,
>> 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 ?
>> Thanks.
>




More information about the erlang-questions mailing list