Needrestart: Difference between revisions
From DWIKI
mNo edit summary Tag: wikieditor |
mNo edit summary Tag: wikieditor |
||
| Line 20: | Line 20: | ||
systemctl restart wpa_supplicant.service | systemctl restart wpa_supplicant.service | ||
=HOWTO= | |||
==Just list needed restarts== | |||
In '''/etc/needrestart/needrestart.conf''' | |||
$nrconf{restart} = 'l'; | |||
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
