From 4fcf21acaa00403c8051c6d48717e9af3ae3a78b Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Fri, 16 Mar 2001 13:28:16 +0000 Subject: killall doesn't have -u option under FreeBSD 3.X Reported by: Alex Vasylenko --- mail/cyrus-imapd24/files/imapd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/cyrus-imapd24/files/imapd.sh') diff --git a/mail/cyrus-imapd24/files/imapd.sh b/mail/cyrus-imapd24/files/imapd.sh index e190969bf571..a08c94fc3ad7 100644 --- a/mail/cyrus-imapd24/files/imapd.sh +++ b/mail/cyrus-imapd24/files/imapd.sh @@ -10,7 +10,8 @@ start) fi ;; stop) - killall -u cyrus master && echo -n ' imapd' + kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \ + echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 -- cgit v1.2.3