summaryrefslogtreecommitdiff
path: root/network/netqmail/doinst_service
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2017-06-22 17:26:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:21 +0700
commit888ec031aca7e4f81a72497f9ebc0259e07621cb (patch)
tree0fcfcba8c18643f6a6111d70b341326312acc27e /network/netqmail/doinst_service
parenta8e78c52c72b342c5436f5ff39148a3f2e68f7ee (diff)
downloadslackbuilds-888ec031aca7e4f81a72497f9ebc0259e07621cb.tar.gz
network/netqmail: Added (the qmail MTA).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/netqmail/doinst_service')
-rw-r--r--network/netqmail/doinst_service12
1 files changed, 12 insertions, 0 deletions
diff --git a/network/netqmail/doinst_service b/network/netqmail/doinst_service
new file mode 100644
index 0000000000..d08423b01b
--- /dev/null
+++ b/network/netqmail/doinst_service
@@ -0,0 +1,12 @@
+# LWQ 2.8.2.2
+if [ -d /service ]
+then
+ for i in qmail-send qmail-smtpd
+ do
+ [ -L /service/$i -o -e /service/$i ] ||
+ ln -s /var/qmail/supervise/$i /service
+ done
+else
+ echo "There is no /service directory" >&2
+ echo "Did you install daemontools?" >&2
+fi