Hi,

I do believe from time to time there are important updates that need you to reboot your server, but how often? I’m thinking about kernel updates, let’s say every month… What are you practices and recommendations?

You are viewing a single thread.
View all comments
3 points

I have a script that runs nightly via cron, it checks if a reboot is required through needrestart, logs the action and reboots the host if required (kernel update or glibc update): https://github.com/nodiscc/xsrv/blob/master/roles/monitoring_netdata/files/usr_local_bin_needrestart-autorestart

Nightly is a baseline, if requirements dictate that the host should not reboot without warning at 5am, I adjust the cron expression.

permalink
report
reply
1 point

Wow, great… Didn’t know about needrestart

permalink
report
parent
reply

Debian

!debian@lemmy.world

Create post

❤️ Debian

Rules

  • Keep it about Debian.
  • Be respectful.
  • Engage in constructive discussions.
  • Please, no harassment, hate speech, or trolling.

Community stats

  • 4

    Monthly active users

  • 21

    Posts

  • 71

    Comments

Community moderators