diff options
author | cunshunxia <cunshunxia@tencent.com> | 2024-01-24 04:23:19 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-02-12 17:49:42 +0100 |
commit | c18c7e2322b0b3d0a7e68d9357379c651c99c4f9 (patch) | |
tree | 91af489cc36c011bf408345c3efa9d25b85a7488 /man | |
parent | Merge pull request #31162 from poettering/tint-tweaks (diff) | |
download | systemd-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.xml | 8 |
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() < last()])" /> + <xi:include href="version-info.xml" xpointer="v253"/> + </listitem> + </varlistentry> <varlistentry> <term><varname>RuntimeMaxSec=</varname></term> |