Code

Added restarter while installing
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Jan 2008 15:18:39 +0000 (15:18 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Jan 2008 15:18:39 +0000 (15:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8540 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 42daeea8982fce8ae5921772fc86cbcbcd533b7f..a30db335d8fbb184dcbb9884ff8005b9397adc7f 100644 (file)
@@ -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 (file)
index 0000000..f9031da
--- /dev/null
@@ -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