diff --git a/src/ZEO/start.py b/src/ZEO/start.py index d8da460c679fdcfdee8b18e28ceca6e14e1edfce..c383fa1e7386b7ae29f70ef9cd7712483822c192 100644 --- a/src/ZEO/start.py +++ b/src/ZEO/start.py @@ -86,7 +86,7 @@ """Start the server storage. """ -__version__ = "$Revision: 1.22 $"[11:-2] +__version__ = "$Revision: 1.23 $"[11:-2] import sys, os, getopt, string @@ -311,7 +311,6 @@ def main(argv): except: pass # getpid not supported else: open(zeo_pid,'w').write("%s %s" % (ppid, pid)) - asyncore.loop() except: # Log startup exception and tell zdaemon not to restart us. info=sys.exc_info() @@ -327,6 +326,9 @@ def main(argv): sys.exit(0) + asyncore.loop() + + def rotate_logs(): import zLOG if hasattr(zLOG.log_write, 'reinitialize'):