unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Bill Lipa <dojo@masterleep.com>
To: Eric Wong <e@80x24.org>
Cc: unicorn-public@bogomips.org
Subject: Re: systemd with logs to journald
Date: Fri, 9 Sep 2016 15:51:18 -0700	[thread overview]
Message-ID: <CAKh11B4-shf2xNAB1s5b-wb8YYWbjb1gEXSSRRA68t=SSGv6Wg@mail.gmail.com> (raw)
In-Reply-To: <20160909224532.GA27877@starla>

Thanks for the pointers!  I came across the official example too late,
but I'll convert over now.

On Fri, Sep 9, 2016 at 3:45 PM, Eric Wong <e@80x24.org> wrote:
> Please don't drop the Cc: to unicorn-public@bogomips.org,
> other readers are following along.
> Bill Lipa <dojo@masterleep.com> wrote:
>> If I do that, the output goes nowhere, I assume because I'm using the
>> -D flag on the ExecStart:
>> ExecStart=/home/ops/bin/bundle exec "unicorn_rails -D -c
>> config/unicorn.rb -E beta"
> You should never need -D (--daemonize) with systemd or any
> process manager.  -D is intended for standalone init scripts
> when the launching process could go away before the daemon.
>> I'll try to redo my service file based on the one at
>> https://unicorn.bogomips.org/examples/unicorn%40.service instead.
>> Thanks for the response.
> Yes, that service file should be the recommended way for
> systemd.

      reply	other threads:[~2016-09-09 22:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 22:16 systemd with logs to journald Bill Lipa
2016-09-09 22:23 ` Eric Wong
     [not found]   ` <CAKh11B7EFHq=zfvz0aej-bhKkvJyGwRxWRB3zjxOZejwERV3+A@mail.gmail.com>
2016-09-09 22:45     ` Eric Wong
2016-09-09 22:51       ` Bill Lipa [this message]

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:

  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='CAKh11B4-shf2xNAB1s5b-wb8YYWbjb1gEXSSRRA68t=SSGv6Wg@mail.gmail.com' \
    --to=dojo@masterleep.com \
    --cc=e@80x24.org \
    --cc=unicorn-public@bogomips.org \


* 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


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).