This unit is provided by:
Options
-
[Service]
-
EnvironmentFile=/etc/sysconfig/locate
-
ExecStart=/bin/sh -c "chown -R ${RUN_UPDATEDB_AS}:root /var/lib/mlocate && su --shell=/bin/sh ${RUN_UPDATEDB_AS} -c /usr/bin/updatedb"
-
IOSchedulingClass=2
-
IOSchedulingPriority=7
-
Nice=19
-
PrivateDevices
Introduced in systemd 209=yes -
ProtectClock
Introduced in systemd 245=yes -
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=read-only -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
RestrictRealtime
Introduced in systemd 231=yes -
Type=oneshot
-
UMask=0022
-
-
[Unit]
-
Description=Update locate database
-
Documentation=man:updatedb
-
Additionnal notes
Nothing here.