~ubuntu-branches/ubuntu/quantal/apt-cacher-ng/quantal-backports

« back to all changes in this revision

Viewing changes to debian/apt-cacher-ng.logrotate

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2011-08-01 23:40:11 UTC
  • mfrom: (1.1.29 upstream) (29.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110801234011-2ouft5pay71773vs
Tags: 0.6.4-1
* New upstream version
  + fixes potential pipeline freeze (closes: #628995)
  + supports "soft" blacklisting of bad hosts when important files are
    missing (see keyfile in documentation, closes: #616091)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        endscript
14
14
}
15
15
 
 
16
/var/log/apt-cacher-ng/apt-cache*.err {
 
17
        size 10M
 
18
        missingok
 
19
        rotate 700
 
20
        compress
 
21
        delaycompress
 
22
        notifempty
 
23
        create
 
24
        postrotate
 
25
                if [ -s /var/run/apt-cacher-ng/pid ] ; then
 
26
                        kill -s USR1 "$(cat /var/run/apt-cacher-ng/pid)"
 
27
                fi
 
28
        endscript
 
29
}
 
30
 
 
31