Capistrano and Unicorn

Michael Guterl mguterl at
Thu Feb 18 18:31:14 EST 2010

On Thu, Feb 18, 2010 at 3:41 PM, Steve Klabnik <steve at> wrote:
> Anyone have any tips for using Capistrano with unicorn?
Here's the init script we're using to manage unicorn: 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 ( ,
> 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 it
is very comprehensive.

Michael GUterl

More information about the mongrel-unicorn mailing list