[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#203588: acpid: Shell script has nothing to do in /etc



> How do I configure your script to restart apache when the power button
> is pushed?

Because it has nothing to do with shutdown, you just change
/etc/acpi/events/powerbtn, and modify it to action=invoke-rc.d apache
restart

Quickly,
le Moine Fou
-- 
pierre.thierry@moine-fou.org
OpenPGP 0xD9D50D8A

Attachment: pgpORIVbOG1zr.pgp
Description: PGP signature


Reply to: