X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plocate-updatedb.service.in;h=03f9665ea9afebababfb771fde7abeda1623ca24;hb=2c37610a19a1366bd667afa489121c2ecfa145df;hp=e7cb0141dff5750865efc4eabf289df787651403;hpb=1acc100b098457d9a8b51e87f6e0053d0ba32af7;p=plocate diff --git a/plocate-updatedb.service.in b/plocate-updatedb.service.in index e7cb014..03f9665 100644 --- a/plocate-updatedb.service.in +++ b/plocate-updatedb.service.in @@ -1,10 +1,12 @@ [Unit] Description=Update the plocate database ConditionACPower=true +RandomizedDelaySec=12h +AccuracySec=20min [Service] Type=oneshot -ExecStart=@sbindir@/updatedb +ExecStart=@sbindir@/@updatedb_progname@ LimitNOFILE=131072 IOSchedulingClass=idle