From: Steinar H. Gunderson Date: Fri, 2 Apr 2021 11:12:49 +0000 (+0200) Subject: Randomize updatedb systemd unit start time. X-Git-Tag: 1.1.6~1 X-Git-Url: https://git.sesse.net/?p=plocate;a=commitdiff_plain;h=2c37610a19a1366bd667afa489121c2ecfa145df Randomize updatedb systemd unit start time. Suggested by Calum McConnell. --- diff --git a/plocate-updatedb.service.in b/plocate-updatedb.service.in index a075051..03f9665 100644 --- a/plocate-updatedb.service.in +++ b/plocate-updatedb.service.in @@ -1,6 +1,8 @@ [Unit] Description=Update the plocate database ConditionACPower=true +RandomizedDelaySec=12h +AccuracySec=20min [Service] Type=oneshot