From ef4d8c74f9342cc67421f20e4aaa4d62a911fcb8 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 26 Feb 2023 19:08:06 +0000 Subject: Prepare for 1.1.1.0; add s6-l-i-m -R option to set hard limits Signed-off-by: Laurent Bercot --- doc/s6-linux-init-maker.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc/s6-linux-init-maker.html') diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html index 1390781..33bb550 100644 --- a/doc/s6-linux-init-maker.html +++ b/doc/s6-linux-init-maker.html @@ -61,6 +61,7 @@ machine. If it is not the case, the system will fail to boot. [ -D initdefault ] \ [ -n | -N ] \ [ -f skeldir ] \ + [ -R resource_limit_list ] \ [ -C ] \ [ -B ] \ [ -S ] \ @@ -319,6 +320,22 @@ build time. This option is typically useful when distributions run s6-linux-init-maker in packaging scripts, when preparing files in a staging directory.
+
  • -R resource_limit_list : declare +global resource limits (a.k.a. "hard limits") for the system to be +booted. resource_limit_list is a comma-separated list of +instructions such as o2000, d= or c0: +a letter followed by either the character =, which means +unlimited, or a number, which is the value of the resource limit. +The letter specifies the resource being addressed, as defined by +the option letters used by +s6-softlimit: +for instance, c means core file size limit, and o +means open fds limit. Note that unlike s6-softlimit, which only sets +soft limits, i.e. process hierarchy-wide limits, the values +given here declare hard limits that will be enforced for the +whole system to be booted: it will be impossible to raise soft limits +above these values.

  • +
  • -C : create a set of scripts that is suitable for running in a container. This modifies some behaviours:
      -- cgit v1.2.3