summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd2/files/imapd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd2/files/imapd.sh')
-rw-r--r--mail/cyrus-imapd2/files/imapd.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/mail/cyrus-imapd2/files/imapd.sh b/mail/cyrus-imapd2/files/imapd.sh
deleted file mode 100644
index 5230d76473ae..000000000000
--- a/mail/cyrus-imapd2/files/imapd.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# Start or stop cyrus-imapd
-# $FreeBSD$
-
-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)
- kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0