334
you are viewing a single comment's thread
view the rest of the comments
[-] possiblylinux127@lemmy.zip 7 points 1 month ago* (last edited 1 month ago)

Unattended-upgrades has a config option to auto reboot

[-] Miaou@jlai.lu 2 points 1 month ago* (last edited 1 month 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.

[-] vegetaaaaaaa@lemmy.world 1 points 1 month ago

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).

[-] possiblylinux127@lemmy.zip 1 points 1 month ago

You can set a time in the config file

Admittedly your cron job does the same thing but I like to have everything in one place

this post was submitted on 30 Apr 2026
334 points (98.3% liked)

Selfhosted

59955 readers
301 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS