source: branches/1.1/debian/jobmonarch-jobmond.postrm @ 935

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

[debian:packaging] Add script to conditionally restart services upon upgrade.

  • Property svn:executable set to *
File size: 184 bytes
Line 
1#!/bin/sh
2
3set -e
4
5case "$1" in
6    upgrade)
7        # If the service is running, restart it.
8        /etc/init.d/jobmond condrestart || true
9        ;;
10    *)
11        ;;
12esac
13
14exit 0
Note: See TracBrowser for help on using the repository browser.