Shutdown by power button doesn't work

General support questions
Post Reply
jokibaer
Posts: 1
Joined: 2014/10/05 06:36:36

Shutdown by power button doesn't work

Post by jokibaer » 2014/10/05 06:45:51

I want shutdown my CentoOS 7 machine by pressing the power button. Since it doesn't work out of the box, I tried the following:

yum -y install acpid
service acpid start
chkconfig acpid on

Unfortunately without effect, probably because this was valid for CentOS 6.x only. Before I had FreeBSD installed, shutdown by power button worked with it, so generally my machine is capable to do so.

Does anyone know how to get it working?

vanecka
Posts: 45
Joined: 2010/01/28 21:05:11
Location: University of the Free State - South Africa
Contact:

Re: Shutdown by power button doesn't work

Post by vanecka » 2014/10/20 12:08:16

Perhaps verify the values of the following:
In config file : /etc/systemd/logind.conf

Code: Select all

PowerKeyIgnoreInhibited=no
HandlePowerKey=poweroff

Post Reply

Return to “CentOS 7 - General Support”