summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2001-03-22 11:17:17 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2001-03-22 11:17:17 +0000
commit749983c11c42532ed2636fa9cd88967c6324e61e (patch)
tree56259ae5b63151287aa9f507a8bad6abcb396e34 /mail/cyrus-imapd
parentUpdate port to version 7.5.16. (diff)
Use -U option of ps instead of odd path checking.
Notes
Notes: svn path=/head/; revision=40206
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r--mail/cyrus-imapd/Makefile2
-rw-r--r--mail/cyrus-imapd/files/imapd.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile
index 731de59231c6..5b92d968ae4b 100644
--- a/mail/cyrus-imapd/Makefile
+++ b/mail/cyrus-imapd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cyrus-imapd
PORTVERSION= 2.0.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/
diff --git a/mail/cyrus-imapd/files/imapd.sh b/mail/cyrus-imapd/files/imapd.sh
index a08c94fc3ad7..5453fc5ba90e 100644
--- a/mail/cyrus-imapd/files/imapd.sh
+++ b/mail/cyrus-imapd/files/imapd.sh
@@ -10,7 +10,7 @@ start)
fi
;;
stop)
- kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \
+ kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd'
echo -n ' imapd'
;;
*)