summaryrefslogtreecommitdiff
path: root/user/netqmail/netqmail.pre-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'user/netqmail/netqmail.pre-deinstall')
-rw-r--r--user/netqmail/netqmail.pre-deinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/netqmail/netqmail.pre-deinstall b/user/netqmail/netqmail.pre-deinstall
new file mode 100644
index 000000000..496133f3d
--- /dev/null
+++ b/user/netqmail/netqmail.pre-deinstall
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+# Remove s6-supervise files so apk can clean up directories.
+
+rm -rf /var/qmail/services/qmail/event /var/qmail/services/qmail/supervise /var/qmail/services/qmail/log/event /var/qmail/services/qmail/log/supervise