diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/apt-cacher-ng/files/cron.daily |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/apt-cacher-ng/files/cron.daily')
-rw-r--r-- | net-misc/apt-cacher-ng/files/cron.daily | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-misc/apt-cacher-ng/files/cron.daily b/net-misc/apt-cacher-ng/files/cron.daily new file mode 100644 index 000000000000..b5ea1436709c --- /dev/null +++ b/net-misc/apt-cacher-ng/files/cron.daily @@ -0,0 +1,15 @@ +#!/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 |