From 4f01649b82aca67fe3f5bf0192cf25c6903282fa Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 7 Apr 2021 09:33:33 +0200 Subject: [PATCH] Move timer settings from .service to .timer file. Patch from Vladimir Lomov. --- plocate-updatedb.service.in | 2 -- plocate-updatedb.timer | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plocate-updatedb.service.in b/plocate-updatedb.service.in index 03f9665..a075051 100644 --- a/plocate-updatedb.service.in +++ b/plocate-updatedb.service.in @@ -1,8 +1,6 @@ [Unit] Description=Update the plocate database ConditionACPower=true -RandomizedDelaySec=12h -AccuracySec=20min [Service] Type=oneshot diff --git a/plocate-updatedb.timer b/plocate-updatedb.timer index 1f69330..236f45f 100644 --- a/plocate-updatedb.timer +++ b/plocate-updatedb.timer @@ -3,6 +3,8 @@ Description=Update the plocate database daily [Timer] OnCalendar=daily +RandomizedDelaySec=12h +AccuracySec=20min Persistent=true [Install] -- 2.39.2