diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-02-12 16:28:46 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-02-12 16:28:46 +0000 |
commit | 9437f20ebf556c551e6e2e5f14d38869b714e136 (patch) | |
tree | 1f75f7aa626e8134eb677b91e6450cf86e7ebf75 /security | |
parent | 41507c7454a1ec50d177ef17f4ce15d9b1ccff05 (diff) | |
download | ports-9437f20ebf556c551e6e2e5f14d38869b714e136.tar.gz ports-9437f20ebf556c551e6e2e5f14d38869b714e136.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/drweb-postfix/files/01.drweb-postfix.sh | 20 | ||||
-rw-r--r-- | security/drweb-qmail/files/01.drweb-qmail.sh | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/security/drweb-postfix/files/01.drweb-postfix.sh b/security/drweb-postfix/files/01.drweb-postfix.sh new file mode 100644 index 000000000000..1ee384ebf6f6 --- /dev/null +++ b/security/drweb-postfix/files/01.drweb-postfix.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x %INSTALL%/drweb-postfix ]; then + killall drweb-postfix >/dev/null 2>& 1; + %INSTALL%/drweb-postfix --conf=/usr/local/etc/drweb-postfix/drweb_postfix.conf && \ + echo ' Starting drweb-postfix'; + fi + ;; +stop) + killall drweb-postfix >/dev/null 2>& 1; + echo ' Stop drweb-postfix'; + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 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 |