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

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

  parent reply	other threads:[~2016-09-09 22:45 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 [this message]
2016-09-09 22:51       ` Bill Lipa

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=20160909224532.GA27877@starla \
    --to=e@80x24.org \
    --cc=dojo@masterleep.com \
    --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).