all events will be placed underneath /etc/acpi/events
all actions will be placed underneath /etc/acpi/actions
run acpi_listen command to monitor ACPI events
specify log file for all acpi events --> acpid -l /var/log/acpid
when an acpi event occurred, acpid will check configuration files underneath /etc/acpi/events and go into any events that match the event definition.
sample
# anything.conf
# Pass all events to our one handler script
event=.*
action=/etc/acpi/handler.sh %e
# handler.sh
logger "acpi event: $1 / $2 / $3 /$4"
exit 0