> As long as I've been using Linux, I'm embarraced to admit that I still
> draw a blank on process groups and shell sessions..

Same here :)

> Well, I've done a few, so I figured I'd write a class for proper
> 'daemonization'. I'll optionally create a pid file and a socket if you
> want that. And as I've had some problems with crashes, it can fork
> twice, having the first one watch over the next and reforking if it
> exits with an error (or crashes). I should clean it up and post it on
> RAA, but haven't quite gotten there yet. Give a shout if you'd like to
> try it.

That would be great - I'd love to try it! A "daemonization" 
class/module (like Proc::Daemon in Perl) is one of the (very few) 
things I've been missing in Ruby.

//samuel