diff options
author | Will Andrews <will@FreeBSD.org> | 2003-06-03 02:15:01 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2003-06-03 02:15:01 +0000 |
commit | 7260defd050fb814d1020f9134fdd3f8aad7b24c (patch) | |
tree | 3baef48c7b0fbad293b402524ea4221987dd26d8 /mail/exact/files | |
parent | Finish repo copy move for more accurate port naming. Add linux- (diff) |
Add exact 1.33, a program that implements POP Before SMTP Relay
Authentication.
PR: 52757
Submitted by: mwest@uct.ac.za
Diffstat (limited to 'mail/exact/files')
-rw-r--r-- | mail/exact/files/exact.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/exact/files/exact.sh b/mail/exact/files/exact.sh new file mode 100644 index 000000000000..8386b6b6396d --- /dev/null +++ b/mail/exact/files/exact.sh @@ -0,0 +1,23 @@ +#!/bin/sh +PIDFILE=%%EXACTDIR%%/exact.pid + +case "$1" in + start) + if [ -x %%PREFIX%%/sbin/exact ]; then + %%PREFIX%%/sbin/exact && echo -n ' exact' + fi + ;; + stop) + if [ -f ${PIDFILE} ]; then + /bin/kill `cat ${PIDFILE}` > /dev/null 2>&1 && echo -n 'exact' + else + echo "exact isn't running" + fi + ;; + *) + echo "" + echo "Usage: `basename $0` { start | stop }" + echo "" + exit 64 + ;; +esac |