From: cajus Date: Tue, 22 Jan 2008 15:18:39 +0000 (+0000) Subject: Added restarter while installing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0b81fd27825f542fa9435d4aad8babe94af23caf;p=gosa.git Added restarter while installing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8540 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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