Subject: A graceful way for ulimits?
To: None <pkgsrc-users@netbsd.org>
From: Peter Eisch <peter@boku.net>
List: pkgsrc-users
Date: 03/20/2007 09:58:46
Is there a graceful way to fiddle with 'curproc' values by setting values in
rc.conf?  I need to up the descriptors limit for a package's apps.  I don't
want to simply edit the rc.d script, though that would be effective.

I could do it in rc.local, but I'd like to use a tighter tying to the
rc.conf if possible in the event the app is restarted after system start
time.

Ideas?

Specifics:  I need bacula-dir and bacula-sd's descriptors.soft increased to
something larger than 64.

Thanks,

peter