Code

- Adding a postint with a reload after install a new client event
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Sep 2009 22:40:22 +0000 (22:40 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Sep 2009 22:40:22 +0000 (22:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14217 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/debian/gosa-si-client-loadreporter.postinst [new file with mode: 0644]

diff --git a/gosa-si/debian/gosa-si-client-loadreporter.postinst b/gosa-si/debian/gosa-si-client-loadreporter.postinst
new file mode 100644 (file)
index 0000000..215aa35
--- /dev/null
@@ -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