source: branches/1.0/debian/jobmonarch-jobarchived.prerm @ 869

Last change on this file since 869 was 869, checked in by olahaye, 8 years ago

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

  • Property svn:executable set to *
File size: 276 bytes
Line 
1#!/bin/sh
2
3PATH=/bin:/sbin:/usr/bin:/usr/sbin
4
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
16
17exit 0
Note: See TracBrowser for help on using the repository browser.