Standard unix daemon

Serge Aleynikov serge@REDACTED
Sun Apr 2 01:32:20 CEST 2006

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:
> 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 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