[Zodb-checkins] CVS: ZODB3/ZEO1 - start.py:1.2
Guido van Rossum
guido@python.org
Tue, 8 Oct 2002 15:41:13 -0400
Update of /cvs-repository/ZODB3/ZEO1
In directory cvs.zope.org:/tmp/cvs-serv29283
Modified Files:
start.py
Log Message:
[Attention: this is ZEO 1!]
Unlink the zeo_pid file at the end. This is how it was in the olden
days. At least the script zeostart.py did this, and it is a clone of
this file except for that added feature. Our sysadmin desperately
wants that feature.
=== ZODB3/ZEO1/start.py 1.1.1.1 => 1.2 ===
--- ZODB3/ZEO1/start.py:1.1.1.1 Mon Aug 12 16:39:58 2002
+++ ZODB3/ZEO1/start.py Tue Oct 8 15:41:12 2002
@@ -260,7 +260,11 @@
sys.exit(0)
- asyncore.loop()
+ try:
+ asyncore.loop()
+ finally:
+ if os.path.isfile(zeo_pid):
+ os.unlink(zeo_pid)
def rotate_logs():