Projet

Général

Profil

tmpreaper.conf

Thierry Bertrand, 20/01/2021 16:06

Télécharger (1,62 ko)

 
1
# tmpreaper.conf
2
# - local configuration for tmpreaper's daily run
3
#
4
# This is only used if /etc/cron.daily/tmpreaper was also updated,
5
# i.e. there's a line ". /etc/tmpreaper.conf" in that file.
6
# The shell code that used to be here (pre version 1.6.7) is now
7
# in the cron.daily script.
8

    
9
# Remove the next line if you understand the possible security implications of
10
# having tmpreaper run automatically;
11
# see /usr/share/doc/tmpreaper/README.security.gz
12

    
13
#SHOWWARNING=true
14

    
15
# TMPREAPER_TIME
16
#       is the max. age of files before they're removed.
17
#       default:
18
#       the TMPTIME value in /etc/default/rcS if it's there, else
19
#       TMPREAPER_TIME=7d (for 7 days)
20
#       I recommend setting the value in /etc/default/rcS, as
21
#       that is used to clean out /tmp whenever the system is booted.
22
#
23
# TMPREAPER_PROTECT_EXTRA
24
#       are extra patterns that you may want to protect.
25
#       Example:
26
#       TMPREAPER_PROTECT_EXTRA='/tmp/isdnctrl* /tmp/important*'
27
#
28
# TMPREAPER_DIRS
29
#       are the directories to clean up.
30
#       *never* supply / here! That will wipe most of your system!
31
#       Example:
32
#       TMPREAPER_DIRS='/tmp/. /var/tmp/.'
33
#
34
# TMPREAPER_DELAY
35
#       defines the maximum (randomized) delay before starting processing.
36
#       See the manpage entry for --delay. Default is 256.
37
#       Example:
38
#       TMPREAPER_DELAY='256'
39
#
40
# TMPREAPER_ADDITIONALOPTIONS
41
#       extra options that are passed to tmpreaper, e.g. --all
42

    
43
# uncomment and change the next line to overrule the /etc/default/rcS value
44
# TMPREAPER_TIME=7d
45

    
46
TMPREAPER_PROTECT_EXTRA=''
47
TMPREAPER_DIRS='/tmp/.'
48
TMPREAPER_DELAY='256'
49
TMPREAPER_ADDITIONALOPTIONS=''