[systemd-devel] echo message not coming on terminal with systemd
Navneet Sinha
nnavneetsinha1001 at gmail.com
Fri Dec 18 00:38:38 PST 2015
On Fri, Dec 18, 2015 at 1:24 PM, Andrei Borzenkov <arvidjaar at gmail.com>
wrote:
> 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.
>
Ok, I will try out changing StandardOutput and will let you know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151218/287865a5/attachment.html>
More information about the systemd-devel
mailing list