From b0a4982d2f524fe905d5b93c02fb2d40b2563c47 Mon Sep 17 00:00:00 2001 From: opensides Date: Fri, 4 Sep 2009 22:40:22 +0000 Subject: [PATCH] - Adding a postint with a reload after install a new client event git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14217 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gosa-si-client-loadreporter.postinst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gosa-si/debian/gosa-si-client-loadreporter.postinst diff --git a/gosa-si/debian/gosa-si-client-loadreporter.postinst b/gosa-si/debian/gosa-si-client-loadreporter.postinst new file mode 100644 index 000000000..215aa3549 --- /dev/null +++ b/gosa-si/debian/gosa-si-client-loadreporter.postinst @@ -0,0 +1,18 @@ +#!/bin/sh -e + +#DEBHELPER# + +# We exit unless the package is being configured +case "$1" in + abort*upgrade) exit 0;; + abort*remove) exit 0;; + abort*deconfigure) exit 0;; + configure) ;; + *) exit 0; +esac + +# Restart daemon +invoke-rc.d gosa-si restart + + +exit 0 -- 2.30.2