Browse Source

Show an example of overriding a limit for a specific daemon with rc.d(8).

Use bgpd(8) for this which on a peering router often needs openfiles-cur
to be higher than the default. ok henning@ claudio@ deraadt@
OPENBSD_5_0
sthen 13 years ago
parent
commit
b9da1730d8
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/etc/login.conf.in

+ 8
- 1
src/etc/login.conf.in View File

@ -1,4 +1,4 @@
# $OpenBSD: login.conf.in,v 1.3 2010/12/17 05:33:06 tedu Exp $
# $OpenBSD: login.conf.in,v 1.4 2011/07/26 15:16:12 sthen Exp $
#
# Sample login.conf file. See login.conf(5) for details.
@ -84,3 +84,10 @@ authpf:\
:welcome=/etc/motd.authpf:\
:shell=/usr/sbin/authpf:\
:tc=default:
#
# Override resource limits for certain daemons started by rc.d(8)
#
bgpd:\
:openfiles-cur=512:\
:tc=daemon:

Loading…
Cancel
Save