diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-03-16 13:28:16 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-03-16 13:28:16 +0000 |
commit | 4fcf21acaa00403c8051c6d48717e9af3ae3a78b (patch) | |
tree | 6b83b5480b6e5bbcdcc709c5600ad9095d07f251 /mail/cyrus-imapd24/files | |
parent | Finally get the avr-gcc port really compile on the alpha architecture, (diff) |
killall doesn't have -u option under FreeBSD 3.X
Reported by: Alex Vasylenko <lxv@omut.org>
Diffstat (limited to 'mail/cyrus-imapd24/files')
-rw-r--r-- | mail/cyrus-imapd24/files/imapd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |