[ZODB-Dev] ZEO and pidfiles
John Belmonte
john at neggie.net
Tue Jan 27 23:02:08 EST 2004
Chris McDonough wrote:
> There is a "start.py" in the ZEO directory which looks like it tries to
> import the (ancient) zdaemon.Daemon package and writes a pid file and
> all that jazz, but I'm not sure under what circumstance (if any) it's
> supposed to be used.
It wouldn't be a good idea to depend on the start.py script, as it's
been removed from the development tree.
> If that's not used (there is also a "runzeo.py" script which is I think
> is what zdctl calls), ZEO doesn't write a pidfile nor does
> zeoctl/zdctl. ZEO should likely be responsible for writing a pidfile.
> This follows Zope's pattern and would allow rc script writers to do what
> Alan says. It looks like runzeo already handles signals, so sending the
> child process a signal should (ha ha) do the right thing.
I agree-- zdrun should support writing a pid file. The zdctl utility is
useful, but not much help for incorporating ZEO into existing daemon
frameworks.
-John
--
http:// if ile.org/
More information about the ZODB-Dev
mailing list