2006-12-19 00:15:57 +01:00
|
|
|
## Path: Applications/Locate
|
|
|
|
## Description: Configuration of updatedb
|
2013-04-23 12:40:56 +02:00
|
|
|
#
|
|
|
|
# NOTE: These variables only apply when updatedb is run via cron
|
|
|
|
#
|
2006-12-19 00:15:57 +01:00
|
|
|
## Type: yesno
|
|
|
|
## Default: yes
|
|
|
|
#
|
|
|
|
# Should updatedb (for locate) be started by cron.daily ("yes" or "no")
|
|
|
|
#
|
|
|
|
RUN_UPDATEDB=yes
|
|
|
|
|
|
|
|
## Type: string(nobody,root)
|
|
|
|
## Default: nobody
|
|
|
|
#
|
|
|
|
# updatedb has a parameter "--localuser".
|
|
|
|
# It runs the "find" command as this user. Some people think this is a
|
|
|
|
# security hole if set to 'root' (because some directory information can
|
|
|
|
# be read which is normally protected). Others think it is useful to hold
|
|
|
|
# all files in the database.
|
|
|
|
# So if you want full information in locate db, set RUN_UPDATEDB_AS=root.
|
|
|
|
# If you want security use RUN_UPDATEDB_AS=nobody.
|
|
|
|
#
|
|
|
|
RUN_UPDATEDB_AS=nobody
|
|
|
|
|
|
|
|
## Type: string
|
|
|
|
## Default: ""
|
|
|
|
#
|
|
|
|
# uptdatedb normally only scans local harddisks, but can include net paths
|
|
|
|
# in the database as well. If you specify directories here, they will be
|
|
|
|
# scanned.
|
|
|
|
#
|
|
|
|
UPDATEDB_NETPATHS=""
|
|
|
|
|
|
|
|
## Type: string
|
2012-11-15 13:34:00 +01:00
|
|
|
## Default: "/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc /media /sys /.snapshot"
|
2006-12-19 00:15:57 +01:00
|
|
|
#
|
|
|
|
# uptdatedb can skip directories for its database. The following parameter
|
|
|
|
# says which ones.
|
|
|
|
#
|
2013-04-23 12:40:56 +02:00
|
|
|
UPDATEDB_PRUNEPATHS="/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc /media /sys /.snapshot /var/run/media"
|
2006-12-19 00:15:57 +01:00
|
|
|
|
|
|
|
## Type: string("",nobody)
|
|
|
|
## Default: ""
|
|
|
|
#
|
|
|
|
# Search net paths as ? (e.g. nobody)
|
|
|
|
#
|
|
|
|
UPDATEDB_NETUSER=""
|
|
|
|
|
|
|
|
## Type: string
|
|
|
|
## Default: ""
|
|
|
|
#
|
|
|
|
# updatedb can skip certain filesystem types completely
|
|
|
|
# this sets the parameter "--prunefs" for updatedb
|
|
|
|
#
|
|
|
|
UPDATEDB_PRUNEFS=""
|
|
|
|
|