DOKK / manpages / debian 11 / tmpreaper / tmpreaper.conf.5.en
TMPREAPER.CONF(5) File Formats Manual TMPREAPER.CONF(5)

tmpreaper.conf - defines parameters for daily run of tmpreaper

tmpreaper is run daily via the /etc/cron.daily/tmpreaper script. Its behaviour can be tuned via the /etc/tmpreaper.conf file. This file can contain settings entries to override the defaults in the cron.daily script itself. These settings are:

the max. age of files before they're removed. Default:
TMPREAPER_TIME=7d

extra patterns that you may want to protect. Example:
TMPREAPER_PROTECT_EXTRA='/tmp/isdnctrl* /tmp/important*'
Don't forget to enclose the patterns in quotes, like above.

the directories to clean up.
NEVER supply / here! That will wipe most of your system!
Example:
TMPREAPER_DIRS='/tmp/. /var/tmp/.'
Again, don't forget to enclose the patterns in quotes, like above.

defines the maximum (randomized) delay before starting processing. This is passed as the --delay parameter.

defines any additional parameters you want to pass to the tmpreaper program, e.g. --all

tmpreaper(8)


Paul Slootman <paul@debian.org>
Thu Sep 17 2009 4th Berkeley Distribution