you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 4 months ago* (last edited 4 months ago) (2 children)

Unattended-upgrades has a config option to auto reboot

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 4 months ago*

    Every time I see people boasting about their uptime, I ask myself how old their kernel actually is.

    I've set this auto reboot and never had to worry about patching my server.

    Edit: yeah I know live patching is a thing, not worth the hassle for 99% of server workloads.

  • source
  • parent
  • [–] 1 point 4 months ago (1 child)

    True.

    But by default the unattended-upgrades timer has a randomized trigger time (so that not all Debian machines in the world start hammering the mirrors at the same time). If you enable the auto reboot option in unattended-upgrades, your boxes will reboot at an unpredictable time. I prefer doing this at known times (middle of the night when I know nothing important is running/number of users is low).

  • source
  • parent
  • hideshow 2 child comments