exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interface

This replaces OOMAdjust= by OOMScoreAdjust= in the config files,
breaking compatibility with older unit files. However, this keeps compat
with older kernels which lack the new OOM rework.
This commit is contained in:
Lennart Poettering
2010-08-31 01:33:43 +02:00
parent 71916d3fff
commit dd6c17b159
9 changed files with 72 additions and 41 deletions
+3 -3
View File
@@ -146,13 +146,13 @@
</varlistentry>
<varlistentry>
<term><varname>OOMAdjust=</varname></term>
<term><varname>OOMScoreAdjust=</varname></term>
<listitem><para>Sets the adjustment
level for the Out-Of-Memory killer for
executed processes. Takes an integer
between -17 (to disable OOM killing
for this process) and 15 (to make
between -1000 (to disable OOM killing
for this process) and 1000 (to make
killing of this process under memory
pressure very likely). See <ulink
url="http://www.kernel.org/doc/Documentation/filesystems/proc.txt">proc.txt</ulink>