start libifying common launcher code
commitd1ff8c5bdb286ae212962ec9034d6a345cf09b30
authorEric Wong <normalperson@yhbt.net>
Thu, 19 Mar 2009 20:05:54 +0000 (19 13:05 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 19 Mar 2009 20:19:33 +0000 (19 13:19 -0700)
tree182340be9f69e80156ec0b4d6ed33e79dcd78f6e
parent2a2acc089fc2424f5d01ac170f29a75e090c576f
start libifying common launcher code

The daemonization logic between unicorn and unicorn_rails
scripts can definitely be shared.

Again: our daemonization logic is slightly non-standard since
our executables are designed to run in APP_ROOT/RAILS_ROOT and
not "/" like "normal" UNIX daemons.
Manifest
bin/unicorn
bin/unicorn_rails
lib/unicorn/launcher.rb [new file with mode: 0644]