diff options
author | ume <ume@FreeBSD.org> | 2001-03-16 21:28:16 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-03-16 21:28:16 +0800 |
commit | 8bb712610a6f31e97f6eb985f83096c3e71f51da (patch) | |
tree | 0af13dc7587c3c661c03bc453b24eebbfd0cc61a /mail/cyrus-imapd23/files | |
parent | 402743a82c163fcde3fee12daa2ec5f8af95983a (diff) | |
download | freebsd-ports-gnome-8bb712610a6f31e97f6eb985f83096c3e71f51da.tar.gz freebsd-ports-gnome-8bb712610a6f31e97f6eb985f83096c3e71f51da.tar.zst freebsd-ports-gnome-8bb712610a6f31e97f6eb985f83096c3e71f51da.zip |
killall doesn't have -u option under FreeBSD 3.X
Reported by: Alex Vasylenko <lxv@omut.org>
Diffstat (limited to 'mail/cyrus-imapd23/files')
-rw-r--r-- | mail/cyrus-imapd23/files/imapd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/cyrus-imapd23/files/imapd.sh b/mail/cyrus-imapd23/files/imapd.sh index e190969bf571..a08c94fc3ad7 100644 --- a/mail/cyrus-imapd23/files/imapd.sh +++ b/mail/cyrus-imapd23/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 |