Re: systemd with logs to journald

2016-09-09 Thread Bill Lipa
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 wrote: > 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 goe

Re: systemd with logs to journald

2016-09-09 Thread Eric Wong
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"

Re: systemd with logs to journald

2016-09-09 Thread Eric Wong
Bill Lipa wrote: > Hello, > > Is there a recommended way to run unicorn under systemd and get its > stdout/err to go to journald rather than into a file on disk? I > prefer to minimize the number of places I have to look for errors. Remove the stdout_path and stderr_path directives from the con

systemd with logs to journald

2016-09-09 Thread Bill Lipa
Hello, Is there a recommended way to run unicorn under systemd and get its stdout/err to go to journald rather than into a file on disk? I prefer to minimize the number of places I have to look for errors. Thank you!