Capistrano and Unicorn
mguterl at gmail.com
Thu Feb 18 18:31:14 EST 2010
On Thu, Feb 18, 2010 at 3:41 PM, Steve Klabnik <steve at steveklabnik.com> wrote:
> Anyone have any tips for using Capistrano with unicorn?
Here's the init script we're using to manage unicorn:
http://gist.github.com/308216 some of it may be of use, I can't
remember where we originally found it.
We call `/etc/init.d/unicorn upgrade` in our deploy:restart task.
> I'm following what GitHub did (http://github.com/blog/517-unicorn) ,
> and for some reason, my old master isn't dying correctly. If I `pkill
> -9 unicorn_rails && unicorn_rails` the new code shows up. I'm thinking
> the problem may be with how capistrano uses the 'current' directory as
> a symlink.
Also be sure to check out http://unicorn.bogomips.org/SIGNALS.html it
is very comprehensive.
More information about the mongrel-unicorn