Needrestart: Difference between revisions

From DWIKI
Tony (talk | contribs)
Created page with " =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 s..."
Tag: wikieditor
 
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:
  systemctl restart unattended-upgrades.service
  systemctl restart unattended-upgrades.service
  systemctl restart wpa_supplicant.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
[[Category:Debian]]

Latest revision as of 09:13, 25 March 2026

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