summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorcunshunxia <cunshunxia@tencent.com>2024-01-24 04:23:19 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-02-12 17:49:42 +0100
commitc18c7e2322b0b3d0a7e68d9357379c651c99c4f9 (patch)
tree91af489cc36c011bf408345c3efa9d25b85a7488 /man
parentMerge pull request #31162 from poettering/tint-tweaks (diff)
downloadsystemd-c18c7e2322b0b3d0a7e68d9357379c651c99c4f9.tar.xz
systemd-c18c7e2322b0b3d0a7e68d9357379c651c99c4f9.zip
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
Diffstat (limited to 'man')
-rw-r--r--man/systemd.scope.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/man/systemd.scope.xml b/man/systemd.scope.xml
index c00ee3bb25..777e11fdab 100644
--- a/man/systemd.scope.xml
+++ b/man/systemd.scope.xml
@@ -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>