On 3/19/22, Peter Ehlert wrote: > > On 3/19/22 06:32, piorunz wrote: >> On 19/03/2022 10:02, songbird wrote: >> >>> there is also package debian-goodies which has the >>> command checkrestart. i'm not sure which is better. >>> >> >> All I know is that needrestart works for me, it correctly prompts for >> computer reboot after kernel upgrade; and offers to restart various >> services if reboot is not required. > > thanks. > > I now have both needrestart and needrestart-session installed. > > Question: do either run in the background?
Seems like that isn't necessary: https://github.com/liske/needrestart There are some hook scripts in the ex/ directory (to be used with apt and dpkg. The scripts will call needrestart after any package installation/upgrades. Regards, Lee