You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/apt-cacher-ng/files/cron.daily

16 lines
459 B

#!/bin/sh
# Run the expire function of apt-cacher-ng non-interactively (unless errors
# are detected).
# optional, specify hostname to appear in error messages and links
# HOSTNAME=externallyVisibleHostName
# export HOSTNAME
# optional, specify IP address to connect to
# ACNGIP=10.0.1.3
# export ACNGIP
if test -r /usr/sbin/expire-caller.pl ; then
perl /usr/sbin/expire-caller.pl || echo Check error messages in /var/log/apt-cacher-ng/maint_*.log
fi