Needrestart

From DWIKI
Revision as of 09:13, 25 March 2026 by Tony (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Outputs

All is well

Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date. 
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.

Deferred

Services to be restarted:

Service restarts being deferred:

systemctl restart NetworkManager.service
/etc/needrestart/restart.d/dbus.service
systemctl restart sddm.service
systemctl restart strongswan-starter.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
systemctl restart wpa_supplicant.service


HOWTO

Just list needed restarts

In /etc/needrestart/needrestart.conf

$nrconf{restart} = 'l';


Needrestart, apt and ansible

environment:
  - NEEDRESTART_MODE: a