aboutsummaryrefslogtreecommitdiffstats
path: root/debian/fetchmail.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/fetchmail.prerm')
-rw-r--r--debian/fetchmail.prerm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/fetchmail.prerm b/debian/fetchmail.prerm
new file mode 100644
index 00000000..ecd8db61
--- /dev/null
+++ b/debian/fetchmail.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+# Stops daemon if it is running under our control
+if [ -x /etc/init.d/fetchmail ]; then
+ invoke-rc.d --quiet fetchmail stop
+fi
+
+#DEBHELPER#
+
+exit 0