Dead simple daemon lib in ~ 100 loc
If you feel like most of the ruby daemon libs out there are overly complex or unstable, try forker. My goal was to write the simplest code possible to daemonize code, redirect output and manage the pidfile. Been using it in production to run resque workers on ubuntu and it has been rock solid for me.
Comments
No tests? No thank-you.
Looks good, nice and thin. Looked good before spec directory showed up too. :P
I mean, yay for tests but I put it my watch list before it had tests. :)
Post a comment