[Zope] Is this possible to daemonize a process launched from Zope ?

Dylan Reinhardt zope@dylanreinhardt.com
28 May 2003 08:34:54 -0700


On Wed, 2003-05-28 at 06:35, Jerome Alet wrote:
> I'm thinking about the fork+exec with controlling terminal and
> process group detachment, available under *nix systems.

Why not rely on your existing rc/init.d scripts?  Let Zope check daemon
status and start/stop particular daemons as needed.  The details will
vary by system, but shouldn't consist of more than a handful of shell
commands in any event.

> 
> Is such a thing possible ?

I would certainly think so.

> 
> Are there any drawbacks ? (beside not being portable to Win)

That, and the obvious security implications of giving a relatively
monolithic piece of software a bigger set of privileges.  

Dylan