tmpreaper.conf(5)

tmpreaper.conf5

Defines parameters for daily run of tmpreaper

Overview

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:

TMPREAPER_TIME

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

TMPREAPER_PROTECT_EXTRA

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.

TMPREAPER_DIRS

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.

TMPREAPER_DELAY

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

TMPREAPER_ADDITIONALOPTIONS

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

Releases

11 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–5.0
  2. 6.0–13

Author

    Paul Slootman <[email protected]>

From tmpreaper 1.6.18 in Debian 13 (Trixie). Parsed by carta from the page's man source.