]> git.sesse.net Git - plocate/blob - plocate-updatedb.service.in
Add a systemd service and timer for updatedb, obsoleting the cron entry.
[plocate] / plocate-updatedb.service.in
1 [Unit]
2 Description=Update the plocate database
3 ConditionACPower=true
4
5 [Service]
6 Type=oneshot
7 ExecStart=@sbindir@/updatedb
8 LimitNOFILE=131072
9 IOSchedulingClass=idle
10
11 PrivateTmp=true
12 PrivateDevices=true
13 PrivateNetwork=true
14 ProtectSystem=full