Changeset 869 for branches/1.0/debian


Ignore:
Timestamp:
05/16/13 16:45:33 (8 years ago)
Author:
olahaye
Message:

[debian:packaging] Prevent services to be stopped upon upgrade.

Location:
branches/1.0/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/debian/jobmonarch-jobarchived.prerm

    r846 r869  
    33PATH=/bin:/sbin:/usr/bin:/usr/sbin
    44
    5 /etc/init.d/jobarchived stop || true
    6 update-rc.d -f jobarchived remove || true
     5set -e
     6
     7case "$1" in
     8    remove|deconfigure)
     9        # Only on removal (not during upgrade)
     10        /etc/init.d/jobarchived stop || true
     11        update-rc.d -f jobarchived remove || true
     12        ;;
     13    *)
     14        ;;
     15esac
    716
    817exit 0
  • branches/1.0/debian/jobmonarch-jobmond.prerm

    r846 r869  
    33PATH=/bin:/sbin:/usr/bin:/usr/sbin
    44
    5 /etc/init.d/jobmond stop || true
    6 update-rc.d -f jobmond remove || true
     5set -e
     6
     7case "$1" in
     8    remove|deconfigure)
     9        # Only on removal (not during upgrade)
     10        /etc/init.d/jobmond stop || true
     11        update-rc.d -f jobmond remove || true
     12        ;;
     13    *)
     14        ;;
     15esac
     16
     17exit 0
Note: See TracChangeset for help on using the changeset viewer.