Proxmox

Ignore Laptop Lid Close

If you have Proxmox on a laptop, you want it to be always on regardless of closing the lid. Put

HandleLidSwitch=ignore

in /etc/systemd/logind.conf and then do systemctl restart systemd-logind.service