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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 27, 2019 at 6:04 PM Lennart Poettering <lennart@xxxxxxxxxxxxxx> 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
one line.

I used to do this from my getty@ ExecStartPre, instead of Type=idle, but when doing it inside software there's no way to reliably undo it, without knowing somehow whether the status was initially shown or hidden, is there? I suppose that's fine if the system reboots after updates anyway...

--
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux