~ubuntu-branches/ubuntu/hardy/mailman/hardy-updates

« back to all changes in this revision

Viewing changes to debian/mailman.logrotate

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2007-12-04 09:12:39 UTC
  • Revision ID: james.westby@ubuntu.com-20071204091239-bbzg0l8s287uzibv
Tags: 1:2.1.9-9
* Drop suggests for obsolete python-*-codecs and drop versioned
  dependencies for pre-oldstable versions.
* Fix formatting of man pages (Closes: #432848).
* Fix some bashisms in Debian packaging scripts.
* Do not make /var/log/mailman world-readable, because it can contain
  a bit of semi-private information. Thanks Alexander Gerasiov.
  (Closes: #450927)
* After logrotate, call 'mailmanctl reopen' instead of sending SIGHUP
  since that is the supported way of rotating logs (Closes: #424620).
* Fix pidfile location in mailman.init, thanks Peter Rabbitson
  (Closes: #439325).
* Make symlinks to /var/lo{g,ck}/mailman absolute, because the relative
  ones cause trouble on systems where people move these things around
  (Closes: #408855, #413604). Override lintian since this is allowed by
  policy.
* Checked for policy 3.7.3, no changes required. Additional packaging
  cleanups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        delaycompress
8
8
        sharedscripts
9
9
        postrotate
10
 
            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
 
10
            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
11
11
        endscript
12
12
}
13
13
 
20
20
        delaycompress
21
21
        sharedscripts
22
22
        postrotate
23
 
            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
 
23
            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
24
24
        endscript
25
25
}
26
26
 
33
33
        delaycompress
34
34
        sharedscripts
35
35
        postrotate
36
 
            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
 
36
            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
37
37
        endscript
38
38
}
39
39
 
46
46
        delaycompress
47
47
        sharedscripts
48
48
        postrotate
49
 
            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
 
49
            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
50
50
        endscript
51
51
}