From a3b3c78cee30ca1bdebb803e4a331952fda285d8 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Tue, 13 Mar 2001 11:15:12 +0000 Subject: Add cyrus-imapd 2.0.12, the cyrus mail server, supporting POP3 and IMAP4 protocols. PR: ports/25597 Submitted by: Christopher K Davis --- mail/cyrus-imapd23/files/imapd.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mail/cyrus-imapd23/files/imapd.sh (limited to 'mail/cyrus-imapd23/files/imapd.sh') diff --git a/mail/cyrus-imapd23/files/imapd.sh b/mail/cyrus-imapd23/files/imapd.sh new file mode 100644 index 000000000000..e190969bf571 --- /dev/null +++ b/mail/cyrus-imapd23/files/imapd.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x /usr/local/cyrus/bin/master -a \ + -f /usr/local/etc/cyrus.conf -a \ + -f /usr/local/etc/imapd.conf ]; then + /usr/local/cyrus/bin/master & + echo -n ' imapd' + fi + ;; +stop) + killall -u cyrus master && echo -n ' imapd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 -- cgit v1.2.3