Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 121953
Collapse All | Expand All

(-)tmpwatch.cron (+6 lines)
Lines 12-17 Link Here
12
#PORTAGE_TMPDIR="$(portageq envvar PORTAGE_TMPDIR)/portage"
12
#PORTAGE_TMPDIR="$(portageq envvar PORTAGE_TMPDIR)/portage"
13
#DISTDIR="$(portageq distdir)"
13
#DISTDIR="$(portageq distdir)"
14
14
15
#PORTAGE_LOGDIR="$(portageq envvar PORT_LOGDIR)"
15
### EXAMPLES ###
16
### EXAMPLES ###
16
17
17
# NOTE: if you have noatime in /etc/fstab for any partitions you plan on
18
# NOTE: if you have noatime in /etc/fstab for any partitions you plan on
Lines 40-42 Link Here
40
#   ${TMPWATCH} --atime --fuser 4320 ${DISTDIR:-/usr/portage/distfiles}
41
#   ${TMPWATCH} --atime --fuser 4320 ${DISTDIR:-/usr/portage/distfiles}
41
# fi
42
# fi
42
43
44
# Delete everything in PORTAGE_LOGDIR that hasn't been accessed in 4 weeks
45
#
46
# if [[ -d ${PORTAGE_LOGDIR:-/var/log/portage} ]]; then
47
#   ${TMPWATCH} --atime 772 ${PORTAGE_LOGDIR:-/var/log/portage}
48
# fi

Return to bug 121953