summaryrefslogtreecommitdiff
path: root/user/netqmail/netqmail.pre-deinstall
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2018-08-28 16:14:58 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2018-08-28 16:14:58 +0000
commit6990bd384a5a11f1dfa75bc32d094dd02d1851a2 (patch)
tree8a0febc1bd96aafde6f622faf5ca43abbcce51f1 /user/netqmail/netqmail.pre-deinstall
parent3f2f1bfb288e936b66a25b31319690fb479fa10c (diff)
downloadpackages-6990bd384a5a11f1dfa75bc32d094dd02d1851a2.tar.gz
packages-6990bd384a5a11f1dfa75bc32d094dd02d1851a2.tar.bz2
packages-6990bd384a5a11f1dfa75bc32d094dd02d1851a2.tar.xz
packages-6990bd384a5a11f1dfa75bc32d094dd02d1851a2.zip
user/netqmail: new package. First of *many* iterations.
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