From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D18B3207DF; Fri, 9 Sep 2016 22:45:32 +0000 (UTC) Date: Fri, 9 Sep 2016 22:45:32 +0000 From: Eric Wong To: Bill Lipa Cc: unicorn-public@bogomips.org Subject: Re: systemd with logs to journald Message-ID: <20160909224532.GA27877@starla> References: <20160909222313.GA24953@starla> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: Please don't drop the Cc: to unicorn-public@bogomips.org, other readers are following along. Bill Lipa 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.