Commit 6d0c2b1f authored by Jim Fulton's avatar Jim Fulton

Needed to move loop call outside of startup exception handler.

parent 3249127f
......@@ -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'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment