aboutsummaryrefslogtreecommitdiff
path: root/security/drweb-qmail
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-02-12 16:28:46 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-02-12 16:28:46 +0000
commit9437f20ebf556c551e6e2e5f14d38869b714e136 (patch)
tree1f75f7aa626e8134eb677b91e6450cf86e7ebf75 /security/drweb-qmail
parent41507c7454a1ec50d177ef17f4ce15d9b1ccff05 (diff)
downloadports-9437f20ebf556c551e6e2e5f14d38869b714e136.tar.gz
ports-9437f20ebf556c551e6e2e5f14d38869b714e136.zip
- Add forgotten startup scripts
Notes
Notes: svn path=/head/; revision=128606
Diffstat (limited to 'security/drweb-qmail')
-rw-r--r--security/drweb-qmail/files/01.drweb-qmail.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/drweb-qmail/files/01.drweb-qmail.sh b/security/drweb-qmail/files/01.drweb-qmail.sh
new file mode 100644
index 000000000000..1577dde5f03d
--- /dev/null
+++ b/security/drweb-qmail/files/01.drweb-qmail.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case "$1" in
+start)
+ if [ -x %INSTALL%/qmail-queue.drweb ]; then
+ killall qmail-queue.drweb >/dev/null 2>& 1;
+ %INSTALL%/qmail-queue.drweb --conf=/usr/local/etc/drweb-qmail/drweb_qmail.conf && \
+ echo ' Starting drweb-qmail';
+ fi
+ ;;
+stop)
+ killall qmail-queue.drweb >/dev/null 2>& 1;
+ echo ' Stop drweb-qmail';
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0