[erlang-questions] crazy thoughts: inittab and erl node
Tue May 8 00:10:51 CEST 2007
On 5/7/07, jm <jeffm@REDACTED> wrote:
> Has anyone attempted to start an erlang node from inittab? For example,
> something like
> n0:2345:/usr/sbin/erl -noshell
> or for the more crazy out there doing embedded systems: Replacing
> /sbin/init with an erlang node? Now I've have no idea what the advantage
> or disadvantages of such a set up would be. It's just a random thought
> that occured to me and I was interested to know if anyone had tried it.
> erlang-questions mailing list
The simplest would be to run it as an S script at the appropriate runlevel.
Why bother with inittab, even?
Unix's init cannot be trivially replaced, as it spawns several critical
kernel threads, and manages runlevels as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions