Disable ACPI power button = shutdown host?

luckman212

Well-Known Member
Jun 22, 2017
40
2
48
Hi,
I'm new to Proxmox and just getting started with a couple of small homelab machines (Intel NUCs)

One thing I noticed right away (quite by accident) was that if someone merely bumps the front panel power button (ACPI) - the Proxmox host will immediately and without any confirmation just initiate a shutdown sequence!

I'd like to disable this or at very least, require holding the button for >4 seconds etc. to prevent accidental shutdowns.

Is this possible? I searched a bit and found nothing - so please forgive me if this is a simple/stupid question
 
Cool, found this by searching for how to do it, which service needs to be restarted to changes to take effect, if any?
 
Code:
systemctl daemon-reload
systemctl restart systemd-logind.service

should do the trick (note that this will log you out), or just reboot.