On Tue, Jan 10, 2006 at 11:53:08PM +0900, Payton Swick wrote: > Well, I did it myself anyway. Hope it's useful: > http://rubyforge.org/projects/pidify/ Instead of putting this logic in (every) application, have you considered using daemontools? http://cr.yp.to/daemontools.html Personally, I think pid files are evil. -- Jos Backus jos at catnook.com