My headless server has a power button.
When the user presses it, I want the server to respond with a brief beep, then shutdown the server.
The system should only beep when manually pressing the power button, not when the system shuts down on its own (e.g. when idle).
systemd handles the ACPI event from the power button, but how can I add a beep to HandlePowerKey
there?