Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F81877022
D30330.id89410.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D30330.id89410.diff
View Options
Index: share/man/man5/rc.conf.5
===================================================================
--- share/man/man5/rc.conf.5
+++ share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 13, 2021
+.Dd May 18, 2021
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -192,24 +192,44 @@
.Pq Vt str
.Xr chroot 8
to this directory before running the service.
-.It Ao Ar name Ac Ns Va _user
-.Pq Vt str
-Run the service under this user account.
-.It Ao Ar name Ac Ns Va _group
-.Pq Vt str
-Run the chrooted service under this system group.
-Unlike the _user
-setting, this setting has no effect if the service is not chrooted.
.It Ao Ar name Ac Ns Va _fib
.Pq Vt int
The
.Xr setfib 1
value to run the service under.
+.It Ao Ar name Ac Ns Va _group
+.Pq Vt str
+Run the chrooted service under this system group.
+Unlike the _user
+setting, this setting has no effect if the service is not chrooted.
+.It Ao Ar name Ac Ns Va _limits
+.Pq Vt str
+Resource limits to apply to the service using
+.Xr limits 1 .
+By default, resource limits are based on the login class defined in
+.Ao Ar name Ac Ns Va _login_class .
+.It Ao Ar name Ac Ns Va _login_class
+.Pq Vt str
+Login class to be used with
+.Ao Ar name Ac Ns Va _limits .
+Defaults to
+.Dq Li daemon .
.It Ao Ar name Ac Ns Va _nice
.Pq Vt int
The
.Xr nice 1
value to run the service under.
+.It Ao Ar name Ac Ns Va _oomprotect
+Use protect(1) to prevent the service from being killed when swap space
+is exhausted.
+Use
+.Dq Li YES
+to protect only the service itself, and
+.Dq Li ALL
+to protect the service and all child processes.
+.It Ao Ar name Ac Ns Va _user
+.Pq Vt str
+Run the service under this user account.
.It Va apm_enable
.Pq Vt bool
If set to
@@ -4585,7 +4605,9 @@
.Xr gdb 1 ,
.Xr info 1 ,
.Xr kbdcontrol 1 ,
+.Xr limits 1 ,
.Xr makewhatis 1 ,
+.Xr protect 1 ,
.Xr sh 1 ,
.Xr vi 1 ,
.Xr vidcontrol 1 ,
@@ -4607,6 +4629,7 @@
.Xr ipnat 5 ,
.Xr jail.conf 5 ,
.Xr loader.conf 5 ,
+.Xr login.conf 5 ,
.Xr motd 5 ,
.Xr newsyslog.conf 5 ,
.Xr pf.conf 5 ,
@@ -4652,6 +4675,7 @@
.Xr quotaon 8 ,
.Xr rc 8 ,
.Xr rc.sendmail 8 ,
+.Xr rc.subr 8,
.Xr rcorder 8 ,
.Xr rfcomm_pppd 8 ,
.Xr route 8 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 6:43 AM (15 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9048735
Default Alt Text
D30330.id89410.diff (2 KB)
Attached To
Mode
D30330: rc.conf(5): Add _limits, _login_class, and _oomprotect
Attached
Detach File
Event Timeline
Log In to Comment