RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in