~ubuntu-branches/ubuntu/trusty/apache2/trusty

« back to all changes in this revision

Viewing changes to debian/mpms.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-04-01 16:30:56 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050401163056-ve71h4qd7f4plu7j
Tags: 2.0.53-5ubuntu5
Fix the init script to not exit with an error when asked to
stop a daemon that isn't running (Was the root cause of #8374)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
case "$1" in
7
7
        upgrade|remove)
8
 
                /usr/sbin/invoke-rc.d apache2 stop
 
8
                /usr/sbin/invoke-rc.d apache2 stop ||true
 
9
                sleep 2
9
10
        ;;
10
11
        deconfigure|failed-upgrade)
11
12
        ;;