[Zodb-checkins] CVS: ZODB3/ZEO1 - start.py:1.1.1.1.2.1
Guido van Rossum
guido@python.org
Thu, 17 Oct 2002 18:08:25 -0400
Update of /cvs-repository/ZODB3/ZEO1
In directory cvs.zope.org:/tmp/cvs-serv32741
Modified Files:
Tag: ZODB3-3_1-branch
start.py
Log Message:
Merge from trunk: delete pidfile upon exit.
=== ZODB3/ZEO1/start.py 1.1.1.1 => 1.1.1.1.2.1 ===
--- ZODB3/ZEO1/start.py:1.1.1.1 Mon Aug 12 16:39:58 2002
+++ ZODB3/ZEO1/start.py Thu Oct 17 18:08:25 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():