File plocate-user-updatedb.service of Package plocate
[Unit] Description=Update user's plocate database Documentation=man:updatedb [Service] PrivateDevices=true ProtectHostname=true ProtectClock=true ProtectKernelTunables=true ProtectControlGroups=true RestrictRealtime=true CapabilityBoundingSet=CAP_DAC_READ_SEARCH IPAddressDeny=any LockPersonality=true MemoryDenyWriteExecute=true NoNewPrivileges=true PrivateTmp=true PrivateNetwork=true RestrictAddressFamilies=AF_UNIX RestrictSUIDSGID=true SystemCallArchitectures=native SystemCallFilter=@system-service Type=oneshot ExecStart=/usr/bin/user-updatedb UMask=0077 LimitNOFILE=131072 # Alter the priority of the updatedb process Nice=19 IOSchedulingClass=idle # user-updatedb uses $HOME to find the config file and the database location Environment=HOME=%h