Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-27 Thread Mantas Mikulėnas
On Tue, Feb 26, 2019 at 7:29 PM Hans de Goede wrote: > Hi All, > > As part of improving the boot experience: > https://fedoraproject.org/wiki/Changes/FlickerFreeBoot > https://hansdegoede.livejournal.com/20119.html > > I took a look at how applying offline updates looks > when pressing ESC to get

[systemd-devel] How to print debug printf messages when we login using telnet

2019-02-27 Thread Dhananjay Patil
Dear All, We successfully login using telnet on board. Our application start as systemd service in order to start at boot time. We define service as follow: [Unit] Description=Initmyapplication [Service] ExecStart=/usr/bin/myapplication & Our application have some debug messages implemented using

Re: [systemd-devel] How to print debug printf messages when we login using telnet

2019-02-27 Thread Mantas Mikulėnas
On Wed, Feb 27, 2019 at 12:49 PM Dhananjay Patil wrote: > Dear All, > > We successfully login using telnet on board. > > Our application start as systemd service in order to start at boot time. > > We define service as follow: > > [Unit] > > Description=Initmyapplication > > > > [Service] > > Exe

Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-27 Thread Lennart Poettering
On Mi, 27.02.19 10:40, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Tue, Feb 26, 2019 at 7:29 PM Hans de Goede wrote: > > > Hi All, > > > > As part of improving the boot experience: > > https://fedoraproject.org/wiki/Changes/FlickerFreeBoot > > https://hansdegoede.livejournal.com/20119.html >

Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-27 Thread Hans de Goede
Hi, On 27-02-19 12:50, Lennart Poettering wrote: On Mi, 27.02.19 10:40, Mantas Mikulėnas (graw...@gmail.com) wrote: On Tue, Feb 26, 2019 at 7:29 PM Hans de Goede wrote: Hi All, As part of improving the boot experience: https://fedoraproject.org/wiki/Changes/FlickerFreeBoot https://hansdego

Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-27 Thread Lennart Poettering
On Mi, 27.02.19 15:56, Hans de Goede (hdego...@redhat.com) wrote: > Hi, > > On 27-02-19 12:50, Lennart Poettering wrote: > > On Mi, 27.02.19 10:40, Mantas Mikulėnas (graw...@gmail.com) wrote: > > > > > On Tue, Feb 26, 2019 at 7:29 PM Hans de Goede wrote: > > > > > > > Hi All, > > > > > > > > As p

Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-27 Thread Mantas Mikulėnas
On Wed, Feb 27, 2019 at 6:04 PM Lennart Poettering wrote: > > Another option is to do this in your soruces btw: > > ```c > (void) kill(1, SIGRTMIN+21); > ``` > > Sending SIGRTMIN+21 to PID 1 will disable the status output > explicitly. If you are sure you don't want it you can just do that, in >

Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-27 Thread Lennart Poettering
On Mi, 27.02.19 18:07, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Wed, Feb 27, 2019 at 6:04 PM Lennart Poettering > wrote: > > > > > Another option is to do this in your soruces btw: > > > > ```c > > (void) kill(1, SIGRTMIN+21); > > ``` > > > > Sending SIGRTMIN+21 to PID 1 will disable the

Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-27 Thread Hans de Goede
Hi, On 27-02-19 17:04, Lennart Poettering wrote: On Mi, 27.02.19 15:56, Hans de Goede (hdego...@redhat.com) wrote: Hi, On 27-02-19 12:50, Lennart Poettering wrote: On Mi, 27.02.19 10:40, Mantas Mikulėnas (graw...@gmail.com) wrote: On Tue, Feb 26, 2019 at 7:29 PM Hans de Goede wrote: Hi

[systemd-devel] Preventing application termination if ttyPATH device is not found

2019-02-27 Thread Dhananjay Patil
Hi All, I have following question: 1. Is there any way to prevent application from termination if ttyPATH device not found 2. How to set Standard output device as pseudo terminal device for service? So when user login using ssh/telnet standard output will be available on this device

Re: [systemd-devel] Preventing application termination if ttyPATH device is not found

2019-02-27 Thread Mantas Mikulėnas
On Thu, Feb 28, 2019 at 8:45 AM Dhananjay Patil wrote: > Hi All, > > > > I have following question: > >1. Is there any way to prevent application from termination if > ttyPATH device not found >2. How to set Standard output device as pseudo terminal device for >service? So when u