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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user