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

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

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

  • Property svn:executable set to *
File size: 268 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/jobmond stop || true
11        update-rc.d -f jobmond remove || true
12        ;;
13    *)
14        ;;
15esac
16
17exit 0
Note: See TracBrowser for help on using the repository browser.