~ubuntu-branches/ubuntu/precise/exim4/precise

« back to all changes in this revision

Viewing changes to debian/exim4-base.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Marc Haber
  • Date: 2007-10-07 21:38:22 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071007213822-qh6kpp40r2o2c3zf
Tags: 4.68-1
* new upstream version. Closes: #444195
  * Documents tls_verify_hosts during TLS sessions. Closes: #422419
  * new example.conf md5 sum
* Move lowuid router to a later place, handle real- only for
  locally generated messages. Thanks to Andreas Metzler and others
  on pkg-exim4-devel. Closes: #420217
* /etc/init.d/exim4:
  * Use start_daemon and killproc from lsb-base
    as a new plunge at #396944
  * Do not clean the environment as severly as before (functions
    need to survive).
* README.Debian:
  * Document that using client certificates needs extra
    configuration. Thanks to John Goerzen. Closes: #440663
* conf.d/main/03_exim4-config_tlsoptions: Make it clear that this
  file only concerns exim as an SMTP server.
* exim4-config.preinst: Add EX4DEBUG facility, add rm_conffile
  function
* Rename acl_whitelist_local_deny to acl_local_deny_exceptions
  as suggested by Ross Boylan. Closes: #387078.
* Switch Build-Depends to db4.6. Closes: #442645
* Debconf translations updates:
  - Portuguese. Thanks to Miguel Figueiredo. Closes: #441895, #445494
  - Norwegian Nynorsk. Thanks to Håvard Korsvoll.
* exim4-config.NEWS: Explicitly mention that .dpkg-old and
  .dpkg-dist files are included in the DEBCONFsomethingDEBCONF check to
  allow lazy people to only grep the docs instead of actually reading
  them. This was requested by Hamish Moffatt in #445327.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    # work around apt purging -base before even removing -daemon #261994.
18
18
    # postrm is good enough, we just need the init-script which is a conffile.
19
19
        if [ -x /etc/init.d/exim4 ]; then
 
20
                if [ -n "$EX4DEBUG" ]; then
 
21
                  netstat -tulpen
 
22
                  ls -al /var/run/exim4/
 
23
                  cat /var/run/exim4/exim.pid
 
24
                  pidof exim4
 
25
                fi
20
26
                if command -v invoke-rc.d >/dev/null 2>&1; then
21
27
                    invoke-rc.d exim4 stop
22
28
                else
23
29
                    /etc/init.d/exim4 stop
24
30
                fi
 
31
                if [ -n "$EX4DEBUG" ]; then
 
32
                  netstat -tulpen
 
33
                  ls -al /var/run/exim4/
 
34
                  cat /var/run/exim4/exim.pid
 
35
                  pidof exim4
 
36
                  if pidof exim4; then
 
37
                    echo >&2 "WARN: There are some exim4 processes still running after stopping exim"
 
38
                  fi
 
39
                fi
25
40
        fi
26
41
    ;;
27
42
    purge)