]> git.sesse.net Git - plocate/blob - plocate-updatedb.service.in
Randomize updatedb systemd unit start time.
[plocate] / plocate-updatedb.service.in
1 [Unit]
2 Description=Update the plocate database
3 ConditionACPower=true
4 RandomizedDelaySec=12h
5 AccuracySec=20min
6
7 [Service]
8 Type=oneshot
9 ExecStart=@sbindir@/@updatedb_progname@
10 LimitNOFILE=131072
11 IOSchedulingClass=idle
12
13 PrivateTmp=true
14 PrivateDevices=true
15 PrivateNetwork=true