Closed zilexa closed 6 months ago
There is a nagios plugin mode which uses return codes to communicate the status. Depending how you define System needs to be restarted.
you could use something like needrestart -p -k || echo old kernel, reboot required
.
Currently, when I run Needrestart after updating Manjaro Gnome via Pamac, this is the output:
What I am looking for is the following output (simple 0 or 1, y or n):
How can I get that? I don't need it to check for (docker) containers to be restarted. Perhaps that can be deleted via .conf file. Also I don't run VMs.