I am migrating from SLES 11 SP4 to SLES 12 SP1 and I can't figure out how to handle ACPID events. I understand the the 3.12 kernel does not support the legacy acpid package.
So I have to work with systemd. I want to only power down the computer if the power button is pressed twice within five seconds.

In /etc/systemd/login.conf, there is HandlePowerKey which specifies which action is invoked when the power key is pressed. But the actions seem limited to only these:

ignore, poweroff, reboot, halt, suspend, hibernate, hybrid-sleep, lock or kexec.

is there a way to call a custom script when the power key is pressed?