[systemd-devel] How do I hook into ACPI events?

Lennart Poettering lennart at poettering.net
Fri May 27 16:38:05 UTC 2016


On Thu, 26.05.16 17:12, Mason Loring Bliss (mason at blisses.org) wrote:

> Traditionally I could edit scripts in /etc/acpi to accomplish things, but on
> EL7 I'm seeing that some combination of upower and systemd/logind appear to
> be the way to control responses to ACPI events.
> 
> I want to have custom things happen on lid close, and I'm not seeing how to
> accomplish it as yet.

See:

https://www.freedesktop.org/wiki/Software/systemd/inhibit/

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list