[systemd-devel] echo message not coming on terminal with systemd

Andrei Borzenkov arvidjaar at gmail.com
Thu Dec 17 23:54:00 PST 2015


18.12.2015 10:22, Tobias Hunger пишет:
> Am 18.12.2015 07:51 schrieb "Navneet Sinha" <nnavneetsinha1001 at gmail.com>:
>> No it doesn't fix it. Secondly, my main problem is why it is not working
> with systemd. When, I was using this script as initscript before porting
> this to systemd. I was able to see all echo messages.
> 
> Sysvinit did not care for stdout and stderr. The output to those goes
> wherever those happen to be connected to.
> 
> Systemd on the other hand catches stdout and stderr and redirects both into
> the logs.
> 

If you actually read original post, you would see that stdout is *not*
redirected to logs. And I cannot reproduce it either - with
StandardInput=tty (and StandardOutput left as default inherit) I both
see output from script and it accepts ESC as termination condition.


More information about the systemd-devel mailing list