Commit bbc0f407 authored by Chris McDonough's avatar Chris McDonough

Write pid into lockfile.

parent daa42d06
......@@ -117,6 +117,8 @@ def start_zope(cfg):
os.unlink(lock_filename)
LOCK_FILE = open(lock_filename, 'w')
lock_file(LOCK_FILE)
LOCK_FILE.write(str(os.getpid()))
LOCK_FILE.flush()
except IOError:
pass
......
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