AndreasMadsen/immortal — Issue #4: 0.4.0: Use only two processes to daemonize
Author: AndreasMadsen
Created: 2012-02-27 12:34:01+00:00
State: open

when using `stategy: 'daemon'` 3 processes (daemon, pump, child) are running + plus a parent if it's stills alive. But two should should be enough.

The flow would be much simpler:

daemon+pump <-> child

these two processes will just keep the other alive. However since the child is pure usercode (immortal isn't a part of it) we can't really watch the `daemon+pump` from the child as is.

So how can we watch `daemon+pump` from the child?

_Any watchers may come with there ideers._