Willy, Am 30.04.19 um 05:55 schrieb Willy Tarreau: > By the way, does systemd support passing actions on stdin and getting > the result on stdout ? Given that the master process is forced to > stay in foreground, at least we could have the equivalent of the CLI > on stdio used as a "console" and not require a third process to talk > to it.
stdin is usually closed, but can be connected to a TTY, socket or file: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardInput= stdout (right below stdin in the docs) goes to the journal by default and I would not touch it (because you need to log with the journal API instead of stdout then). Best regards Tim Düsterhus

