1
0
mirror of https://github.com/systemd/systemd synced 2024-07-05 17:39:42 +00:00

Fix OOMPolicy= version in manpage of systemd.scope

OOMPolicy in scope units is separately supported in
version v253, so I think it cannot be directly used
in the manpage with the version from the service.

fix:#30836
This commit is contained in:
cunshunxia 2024-01-24 11:23:19 +08:00 committed by Luca Boccassi
parent 27af7c2b4c
commit c18c7e2322

View File

@ -105,7 +105,13 @@
of scope units are the following:</para>
<variablelist class='unit-directives'>
<xi:include href="systemd.service.xml" xpointer="oom-policy" />
<varlistentry id='oom-policy'>
<term><varname>OOMPolicy=</varname></term>
<listitem>
<xi:include href="systemd.service.xml" xpointer="xpointer(//varlistentry[@id='oom-policy']/listitem/para[position() &lt; last()])" />
<xi:include href="version-info.xml" xpointer="v253"/>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>RuntimeMaxSec=</varname></term>