Commit c33e5bbd authored by Jim Fulton's avatar Jim Fulton

Include the parent pid in the pid file so the stop script can reap it.

parent 36ea3ccc
......@@ -466,7 +466,10 @@ except:
# if it hasn't failed at this point, create a .pid file.
pf = open(PID_FILE, 'w')
pf.write(str(os.getpid()))
pid=str(os.getpid())
try: pid=str(os.getppid())+' '+pid
except: pass
pf.write(pid)
pf.close()
# Start Medusa, Ye Hass!
......
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