I Kept Switching Off My Own Server. So I Took the Power Button Away From systemd.
A flat wedge of a power button in the corner of a mini PC, a systemd default that shuts the machine down on one accidental touch, and the long-press setting that looks like the fix but loses a race against your own firmware. Includes the evdev daemon that replaced it, and the two bugs that only showed up on real hardware.
linuxsystemdpythonevdevhomelabopen-source