Python stdout goes where under systemd? (Was: Example of python service running under systemd?)

Chris Angelico rosuav at gmail.com
Fri Sep 12 21:50:10 EDT 2014


On Sat, Sep 13, 2014 at 7:45 AM, Travis Griggs <travisgriggs at gmail.com> wrote:
> Python print() is buffered, so it wasn’t showing up except in huge blocks. Changed the .service file to start with -u and everything works as expected now.

Ah, yes, that'll happen any time stdout isn't connected to a tty.
Nothing to do with systemd or journal.

ChrisA



More information about the Python-list mailing list