Needrestart: Difference between revisions

From DWIKI
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:




=HOWTO=
==Just list needed restarts==
In '''/etc/needrestart/needrestart.conf'''
$nrconf{restart} = 'l';
=Needrestart, apt and ansible=
environment:
  - NEEDRESTART_MODE: a
[[Category:Debian]]
[[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