From a3644e43d91e38bf4256f63ab452deb89a22b26d Mon Sep 17 00:00:00 2001 From: Manfred Schwarb Date: Mon, 9 Dec 2024 00:44:24 +0100 Subject: [PATCH] Remove ConditionACPower=true. A lot of people use laptops like mobile phones, they use it mostly being on battery and plug it over night, when the device is turned off, or when battery level is really down. Then most likely the laptop is on battery when the plocate update job is due. If you are on battery, systemd services with ConditionACPower=true do silently nothing, the job is not started and there is only a minor log notice about it which will go unnoticed most likely. As plocate is really fast, remove ConditionACPower=true from plocate-updatedb.service.in. --- plocate-updatedb.service.in | 1 - 1 file changed, 1 deletion(-) diff --git a/plocate-updatedb.service.in b/plocate-updatedb.service.in index 8649d79..e91052e 100644 --- a/plocate-updatedb.service.in +++ b/plocate-updatedb.service.in @@ -1,6 +1,5 @@ [Unit] Description=Update the plocate database -ConditionACPower=true [Service] Type=oneshot