How to set resource limits (ulimit) per service with /etc/rc.subr and /etc/rc.conf

Raphael Eiselstein rabe at uugrn.org
Tue Apr 30 00:05:31 UTC 2013


On Tue, Apr 30, 2013 at 01:33:44AM +0200, Raphael Eiselstein wrote:
> like "nice" or "chroot" or "su", so prepeding just another "ulimit"
> wrapper seems not to be an option.

I found some more generic idea about wrappers in rc.subr:

conf/88913: [patch] wrapper support for rc.subr
http://www.freebsd.org/cgi/query-pr.cgi?pr=88913

Defining a generic wrapper per service seems interesting in my case, but
it's not in rc.subr yet.

Regards
Raphael
-- 
Raphael Eiselstein <rabe at uugrn.org>               http://rabe.uugrn.org/
xmpp:freibyter at gmx.de  | https://www.xing.com/profile/Raphael_Eiselstein   
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20130430/52d62dab/attachment.sig>


More information about the freebsd-rc mailing list