334
submitted 2 months ago by Flax_vert@feddit.uk to c/selfhosted@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] possiblylinux127@lemmy.zip 7 points 2 months ago* (last edited 2 months ago)

Unattended-upgrades has a config option to auto reboot

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

[-] vegetaaaaaaa@lemmy.world 1 points 2 months 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 2 months 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

60526 readers
1369 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS