unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: "Brian P O'Rourke" <bpo@somnambulance.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: sigwinch and screen
Date: Thu, 15 Sep 2011 08:44:08 +0800	[thread overview]
Message-ID: <CAOowiR0K50__qZrRzx32MpbqZTcjKOGXRRCy5GNCfOLO26icoA@mail.gmail.com> (raw)
In-Reply-To: <20110914173213.GA31955@dcvr.yhbt.net>

On Thu, Sep 15, 2011 at 1:32 AM, Eric Wong <normalperson@yhbt.net> wrote:
> Brian P O'Rourke <bpo@somnambulance.net> wrote:
>> You can simulate this problem from *within* a screen session with
>> something like this:
>>
>>     screen sleep 5 && screen bundle exec unicorn -c unicorn.conf config.ru
>
> So, start "screen", get a terminal + shell, /then/ type the above?
>

Correct. When running screen within screen like this, you just get a
new screen that executes the command. It happens consistently for me
on OSX when I launch several screens at once and the last active
screen is *not* unicorn - could certainly be system-dependent.

>> Here is the patch I would like to see applied:
>
> I'll apply it.   Is there a commit message you'd like to use?
> (Otherwise I'll just edit something based on your email)

You can just pull from my public fork here:
git://github.com/bpo/unicorn.git - branch name is
'daemonization_detection'

Cheers,
Brian P O'Rourke
_______________________________________________
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:[~2011-09-15  1:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOowiR0YXF6TAY2_Sv0KYfr0UL-VCAX=KX8OO_-DnOLG-hDbSA@mail.gmail.com>
2011-09-14 14:29 ` sigwinch and screen Brian P O'Rourke
2011-09-14 17:32   ` Eric Wong
2011-09-15  0:44     ` Brian P O'Rourke [this message]
2011-09-15  0:54       ` 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=CAOowiR0K50__qZrRzx32MpbqZTcjKOGXRRCy5GNCfOLO26icoA@mail.gmail.com \
    --to=bpo@somnambulance.net \
    --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).