[systemd-devel] Outputting STDOUT and STDERR to current $SSH_TTY
Sergei Franco
sergei.franco at gmail.com
Fri Aug 11 02:29:14 UTC 2017
Hi,
I am trying to retain behaviour of the startup scripts the same as sysvinit.
For example, on sysv the script outputs feedback to the console when the
stopping and starting is done via console.
With systemd all output is "hidden", and to see the output you need to
check the journal (or syslog if configured). There is no feedback.
Is it possible to configure StandardOutput=tty (and StandardErrror) where
TTYPath= is set to current $SSH_TTY env (be that /devpts/0,/dev/pts/1 or
/dev/pts/n)?
Regards.
Sergei.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170811/de258d81/attachment.html>
More information about the systemd-devel
mailing list