diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-02-26 19:08:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-02-26 19:08:06 +0000 |
commit | ef4d8c74f9342cc67421f20e4aaa4d62a911fcb8 (patch) | |
tree | c0101f833e82b2b4ff3d1f7214a9a7c2e333235d /doc/s6-linux-init-maker.html | |
parent | 96cb4bc24db14b353fd47d8d4325fd02730b6b5f (diff) | |
download | s6-linux-init-ef4d8c74f9342cc67421f20e4aaa4d62a911fcb8.tar.xz |
Prepare for 1.1.1.0; add s6-l-i-m -R option to set hard limits
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-linux-init-maker.html')
-rw-r--r-- | doc/s6-linux-init-maker.html | 17 |
1 files changed, 17 insertions, 0 deletions
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</em>. If it is not the case, the system will fail to boot. [ -D <em>initdefault</em> ] \ [ -n | -N ] \ [ -f <em>skeldir</em> ] \ + [ -R <em>resource_limit_list</em> ] \ [ -C ] \ [ -B ] \ [ -S ] \ @@ -319,6 +320,22 @@ build time. This option is typically useful when distributions run <tt>s6-linux-init-maker</tt> in packaging scripts, when preparing files in a staging directory. </li> <br /> + <li> <tt>-R</tt> <em>resource_limit_list</em> : declare +global resource limits (a.k.a. "hard limits") for the system to be +booted. <em>resource_limit_list</em> is a comma-separated list of +instructions such as <tt>o2000</tt>, <tt>d=</tt> or <tt>c0</tt>: +a letter followed by either the character <tt>=</tt>, 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 +<a href="//skarnet.org/software/s6/s6-softlimit.html">s6-softlimit</a>: +for instance, <tt>c</tt> means core file size limit, and <tt>o</tt> +means open fds limit. Note that unlike s6-softlimit, which only sets +<em>soft limits</em>, i.e. process hierarchy-wide limits, the values +given here declare <em>hard limits</em> that will be enforced for the +whole system to be booted: it will be impossible to raise soft limits +above these values. </li> <br /> + <li> <tt>-C</tt> : create a set of scripts that is suitable for running <em>in a container</em>. This modifies some behaviours: <ul> |