I thought this was going to be about the fairly new feature
systemd soft-reboot
https://www.freedesktop.org/software/systemd/man/systemd-soft-reboot.service.html
TIL. This is so cool, def checking it out when I get the chance
I think that feature was added in systemd 254 and that was released in July so it might be a bit before you can try it.
Looks like Arch has systemd v254.5-1 rn
That’s fresh! It hasn’t landed in Gentoo stable yet.
Wow even just the “needrestart” program is really useful from that article. I had no idea I had services previously updated which were still hanging out there.
That was the coolest takeaway for me
On a desktop/laptop system you soon notice when things like your touchpad loses multi touch support and USB sticks no longer work because your kernel mods no longer match the “old” kernel!
needrestart and co are really handy. When lsof first came out, I remember finding a recipe similar to the one posted and “mind blown”!
I guess I always considered the desktop machines as expendable – to be rebooted as needed. However my servers (particularly the firewall and NAS) are somewhat critical, especially with newer servers taking so damn long to reboot, so I don’t shut those down unless absolutely needed.
Is it me or that article is poorly written? Doesn’t seem to be cyberciti quality.