From 0b81fd27825f542fa9435d4aad8babe94af23caf Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 22 Jan 2008 15:18:39 +0000 Subject: [PATCH] Added restarter while installing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8540 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-client.postinst | 3 +++ gosa-si/debian/gosa-si-server.postinst | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 gosa-si/debian/gosa-si-server.postinst diff --git a/gosa-si/debian/gosa-si-client.postinst b/gosa-si/debian/gosa-si-client.postinst index 42daeea89..a30db335d 100644 --- a/gosa-si/debian/gosa-si-client.postinst +++ b/gosa-si/debian/gosa-si-client.postinst @@ -13,4 +13,7 @@ esac [ ! -d /usr/lib/gosa-si/client/events ] && install -d -o root -g root -m 750 /usr/lib/gosa-si/client/events +# Restart daemon +/etc/init.d/gosa-si restart + exit 0 diff --git a/gosa-si/debian/gosa-si-server.postinst b/gosa-si/debian/gosa-si-server.postinst new file mode 100644 index 000000000..f9031dace --- /dev/null +++ b/gosa-si/debian/gosa-si-server.postinst @@ -0,0 +1,17 @@ +#!/bin/sh + +#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 +/etc/init.d/gosa-si restart + +exit 0 -- 2.30.2