Disable laptop lid action for proxmox

I run a low power proxmox server using my old Lenovo T430s. It’s headless so the lid’s always closed.

When I first set it up, closing the lid would send the laptop into standby mode. Here’s what I did to get promox/debian to ignore the laptop lid action.

Edit the /etc/systemd/logind.conf file

Change the lines below.

restart the logind service.