source: branches/1.0/debian/jobmonarch-jobarchived.postrm @ 907

Last change on this file since 907 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: 188 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/jobarchived condrestart || true
9        ;;
10    *)
11        ;;
12esac
13
14exit 0
Note: See TracBrowser for help on using the repository browser.