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
+1 -1
View File
@@ -5,7 +5,7 @@ Description=systemd Logging Daemon
ExecStart=/home/lennart/projects/systemd/systemd-logger
Type=simple
TimerSlackNS=1000000
OOMAdjust=4
OOMScoreAdjust=40
LimitCORE=0
LimitFSIZE=0
LimitLOCKS=0