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 <[email protected]> wrote:
> Please don't drop the Cc: to [email protected],
> other readers are following along.
>
> Bill Lipa <[email protected]> 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 via email to