diff options
author | adam <adam@pkgsrc.org> | 2010-12-07 11:43:44 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-12-07 11:43:44 +0000 |
commit | b1f52f837c1083eb624fd389608ee88cf9da57e5 (patch) | |
tree | c1e79f218b436bc59459e79c17a8367a035ecd2d /mail/dovecot2 | |
parent | aa3224cb7d898423b62f29a22d44715fd4c40b78 (diff) | |
download | pkgsrc-b1f52f837c1083eb624fd389608ee88cf9da57e5.tar.gz |
Revert last change
Diffstat (limited to 'mail/dovecot2')
-rwxr-xr-x | mail/dovecot2/files/dovecot.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/dovecot2/files/dovecot.sh b/mail/dovecot2/files/dovecot.sh index 2e0de1ab7c4..6aad8521cf2 100755 --- a/mail/dovecot2/files/dovecot.sh +++ b/mail/dovecot2/files/dovecot.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: dovecot.sh,v 1.2 2010/12/07 11:42:07 adam Exp $ +# $NetBSD: dovecot.sh,v 1.3 2010/12/07 11:43:44 adam Exp $ # # PROVIDE: dovecot @@ -23,9 +23,9 @@ HARD_FDLIMIT=`ulimit -H -n` if [ ${dovecot_fdlimit} -gt ${SOFT_FDLIMIT} ]; then if [ ${dovecot_fdlimit} -le ${HARD_FDLIMIT} ]; then - ${SOFT_FDLIMIT} ${dovecot_fdlimit} + ulimit -S -n ${dovecot_fdlimit} else - ${HARD_FDLIMIT} ${dovecot_fdlimit} + ulimit -S -n ${HARD_FDLIMIT} fi fi |