0

I'd like to add some logic to unattended upgrades, but am unsure how to do so. Here's what I'd like to do: If there are security updates, run command exampleCommand1, then proceed with updates. If no reboot is required after updates are installed, run command exampleCommand2 followed by exampleCommand3. If reboot is required, run command exampleCommand4, then reboot.

1 Answer 1

-2

Reboot is required only after if you want to update kernel by running the command "apt-get dist-upgrade" other upgrades do not require reboot of server. This "apt-get dist-upgrade" updates your system only if there is new kernel available.

2
  • Not very helpful response.
    – A.B.
    Mar 24, 2015 at 8:26
  • agreed, this response wasn't helpful, but I don't fault you for it.
    – Tommy Ash
    Mar 24, 2015 at 18:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .