summaryrefslogtreecommitdiff
path: root/debian/exim4-daemon-light.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/exim4-daemon-light.prerm')
-rw-r--r--debian/exim4-daemon-light.prerm17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/exim4-daemon-light.prerm b/debian/exim4-daemon-light.prerm
new file mode 100644
index 0000000..75c380b
--- /dev/null
+++ b/debian/exim4-daemon-light.prerm
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove|upgrade)
+ if [ -x /etc/init.d/exim4 ]; then
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d exim4 stop
+ else
+ /etc/init.d/exim4 stop
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#