From: Robert Klemme Date: 2003-12-11T20:12:05+09:00 Subject: Re: Trying to create a Ruby daemon "Samuel Kvarnbrink" schrieb im Newsbeitrag news:1071064667.513.11.camel@humpc7... > On Wed, 2003-12-10 at 14:22, Ollivier Robert wrote: > > [courtesy cc of this posting sent to cited author via email] > > > > In article <4CAB270F-28BC-11D8-A981-000393DA3608@humlab.umu.se>, > > Samuel Kvarnbrink wrote: > > > 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. > > > > How about using Process.setsid? > > As both Gennady and Reimer already pointed out, using Process.setsid > isn't enough if you want a "clean" daemonization. I was thinking more of > a 100% "idiot-proof" class that handles all the necessary steps by > itself. Of course, that's not a major problem to me anymore (now that I > know how to do it) but I think it would be a lot more newbie-friendly to > have such a class. Why then not put your newly gained knowledge into a module / class and put it into the RAA? :-) Regards robert