summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2015-10-30 11:04:57 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2015-10-30 11:04:57 +0000
commit7679e2512e2fbc9973bcb0e662e6a9c0ba232f57 (patch)
tree83a7e453897897ad3126b00779ddb3846a9b7230
parent6144208d1fead05cfb847f37e7638f808777aae7 (diff)
Point out that daemon class, via login.conf, can be used to set more than
just the process limits - show that, in particular, environment variables and scheduling priority can be set in this way. Discussed with ajacoutot, robert, schwarze, I went with wording suggested by schwarze@ which was much better than mine.
-rw-r--r--share/man/man8/rc.d.87
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man8/rc.d.8 b/share/man/man8/rc.d.8
index 3a3c4b3a746..eed99a7348a 100644
--- a/share/man/man8/rc.d.8
+++ b/share/man/man8/rc.d.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rc.d.8,v 1.29 2015/09/21 09:23:35 jmc Exp $
+.\" $OpenBSD: rc.d.8,v 1.30 2015/10/30 11:04:56 sthen Exp $
.\"
.\" Copyright (c) 2011 Robert Nagy, Antoine Jacoutot, Ingo Schwarze
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 21 2015 $
+.Dd $Mdocdate: October 30 2015 $
.Dt RC.D 8
.Os
.Sh NAME
@@ -158,6 +158,9 @@ with the same name as the
.Nm rc.d
script itself,
in which case it will be set to that login class.
+This allows setting many initial process properties, for example
+environment variables, scheduling priority, and process limits
+such as maximum memory use and number of files.
.Sh FILES
.Bl -tag -width Ds
.It Pa /etc/rc.d/