[Apt-cacher-ng-users] acngfs
Eduard Bloch
edi at gmx.de
Wed Oct 26 18:40:08 UTC 2011
Hi,
* Jasper Mackenzie [Wed, Oct 26 2011, 10:31:51PM]:
> >This sounds familiar, please have a look at
> >http://www.unix-ag.uni-kl.de/~bloch/acng/html/howtos.html#mirroring .
> OK... some n00bish questions. Sorry I dont uderstand perl to well.
> I assume that expire-caller.pl needs to be modified to do the
> precaching.
Using a Perl script doesn't mean you need to hack it. Just copy
/etc/cron.daily/apt-cacher-ng to /etc/cron.daily/apt-cacher-ng-mirror
and edit the new script, add something like:
ACNGREQ='?doDownload=dd&asNeeded=an&useDebDelta=ud&doMirror=Start+Mirroring'
export ACNGREQ
... and that should be enough.
Regards,
Eduard.
--
<leichenwagen>Erst wenn der letzte Programmierer eingesperrt und die letzte Idee patentiert ist, werdet ihr merken, daß Anwälte nicht programmieren können
More information about the Apt-cacher-ng-users
mailing list