[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question on Unattended Upgrades



On Tuesday, May 12, 2020 02:22:13 AM Keifer Bly wrote:
> Is there a way to configure it to automatically restart when a package that
> needs to be restarted is upgraded? Thx.

If there is a comand named "needrestart" (I don't see it on my Wheezy system), 
then presumably a (bash?) script could be written to automate a restart.

(If I did it (which I won't), I'd make it present its results to the user / 
administrator and ask for confirmation, and/or use that command that warns 
users that the system is about to be shut down.)


Reply to: