diff options
author | ume <ume@FreeBSD.org> | 2001-03-22 19:17:17 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-03-22 19:17:17 +0800 |
commit | 260b63454c26c1c132dbdb68676a5634a5331346 (patch) | |
tree | 106c359b6e49d8b0c1a41a8befed06e38b991ab1 /mail/cyrus-imapd2 | |
parent | f1dc8fe7f4fe481940fca795130d2dd20477d8e7 (diff) | |
download | freebsd-ports-gnome-260b63454c26c1c132dbdb68676a5634a5331346.tar.gz freebsd-ports-gnome-260b63454c26c1c132dbdb68676a5634a5331346.tar.zst freebsd-ports-gnome-260b63454c26c1c132dbdb68676a5634a5331346.zip |
Use -U option of ps instead of odd path checking.
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r-- | mail/cyrus-imapd2/Makefile | 2 | ||||
-rw-r--r-- | mail/cyrus-imapd2/files/imapd.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile index 731de59231c6..5b92d968ae4b 100644 --- a/mail/cyrus-imapd2/Makefile +++ b/mail/cyrus-imapd2/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-imapd2/files/imapd.sh b/mail/cyrus-imapd2/files/imapd.sh index a08c94fc3ad7..5453fc5ba90e 100644 --- a/mail/cyrus-imapd2/files/imapd.sh +++ b/mail/cyrus-imapd2/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' ;; *) |