4.5.2. Disabling ACPI Soft-Off in the logind.conf file
You can disable power-key handing in the /etc/systemd/logind.conf file.
Procedure
Define the following configuration in the
/etc/systemd/logind.conffile:HandlePowerKey=ignoreRestart the
systemd-logindservice:# systemctl restart systemd-logind.service
Verification
- Verify that the node turns off immediately when fenced. For information about testing a fence device, see Testing a fence device.