unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Michael Fischer <mfischer@zendesk.com>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: What does it mean for the unicorn process to be bound to a terminal?
Date: Tue, 26 Nov 2013 11:14:32 -0800	[thread overview]
Message-ID: <CABHxtY55Rbs+=i4vJJ03Aew6KxFcw8uW8fs47wxxb4JVkg-Onw@mail.gmail.com> (raw)
In-Reply-To: <5294E9D4.5030608@gmail.com>

On Tue, Nov 26, 2013 at 10:35 AM, Rodrigo Rosenfeld Rosas
<rr.rosas@gmail.com> wrote:

> I'd provide one if I could figure out some good way to automate this.
> Currently I perform all steps manually in production for zero downtime and
> only manage the other environments with Capistrano, except when I have a
> programmed downtime window for production.

Here's what we do (this is in unicorn.rb).  We send the master a
SIGUSR2 via our init script, which starts the process.

http://pastebin.com/02y0y34q

--Michael
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

  reply	other threads:[~2013-11-26 19:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 13:30 What does it mean for the unicorn process to be bound to a terminal? Rodrigo Rosenfeld Rosas
2013-11-26 18:04 ` Eric Wong
2013-11-26 18:35   ` Rodrigo Rosenfeld Rosas
2013-11-26 19:14     ` Michael Fischer [this message]
2013-11-28 13:52       ` Pierre Baillet
2013-11-26 19:21     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABHxtY55Rbs+=i4vJJ03Aew6KxFcw8uW8fs47wxxb4JVkg-Onw@mail.gmail.com' \
    --to=mfischer@zendesk.com \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).