Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] systemd: What is the proper manner to print a message to the screen from a service file?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Mon, 17 Jun 2013 11:06:09 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1306171101320.5885@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-ID: <alpine.LNX.2.00.1306171104560.5885@Telcontar.valinor>


On Monday, 2013-06-17 at 06:57 +0400, Andrey Borzenkov wrote:

В Sun, 16 Jun 2013 20:49:34 +0200 (CEST) "Carlos E. R." <> пишет:

ExecStart=-/usr/local/bin/helloworld

...
#Does not print - it does on syslog, not to terminal.
grep FAILED /var/log/boot.log


Does it work when you start it manually? Does it work if you omit
"quiet" from kernel command line?

I think you missed part of the emails :-)

I'm not using "quiet" at all, it is one of the first things I remove. And Cristian told me to use "StandardOutput=tty" in the service file, and that was the trick. It is working now :-)


The output of "grep FAILED /var/log/boot.log" is nicer, but that file only exists if plymouth runs - and it doesn't in my machine, I removed it.

- -- Cheers,
Carlos E. R.
(from 12.3 x86_64 "Dartmouth" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlG+0YEACgkQtTMYHG2NR9VfEQCfVD2G/7siS1XHBSJJ/3yCpBeY
ViwAnjugnHdEjunHuwJ2gIMEAGoYPHqK
=V71N
-----END PGP SIGNATURE-----
< Previous Next >