diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-04 00:15:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-04 00:15:21 +0200 |
commit | 4019a16d5b65633e5f6d671c16d3215d7f7f29fc (patch) | |
tree | 6712c961d71eadfc1c009f217e1acc1b6916a42c /units | |
parent | 6de338a2d9904ef5a67552b024491700523074a3 (diff) | |
download | systemd-4019a16d5b65633e5f6d671c16d3215d7f7f29fc.tar.gz |
units: use OOMScoreAdjust= in the unit files to set OOM score adjust
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-readahead-collect.service.in | 1 | ||||
-rw-r--r-- | units/systemd-readahead-replay.service.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/units/systemd-readahead-collect.service.in b/units/systemd-readahead-collect.service.in index c5e1d5274f..887339c3f3 100644 --- a/units/systemd-readahead-collect.service.in +++ b/units/systemd-readahead-collect.service.in @@ -18,6 +18,7 @@ Type=notify ExecStart=@rootlibexecdir@/systemd-readahead-collect RemainAfterExit=yes StandardOutput=null +OOMScoreAdjust=1000 [Install] WantedBy=default.target diff --git a/units/systemd-readahead-replay.service.in b/units/systemd-readahead-replay.service.in index 7387ebac08..6a101678c3 100644 --- a/units/systemd-readahead-replay.service.in +++ b/units/systemd-readahead-replay.service.in @@ -18,6 +18,7 @@ Type=notify ExecStart=@rootlibexecdir@/systemd-readahead-replay RemainAfterExit=yes StandardOutput=null +OOMScoreAdjust=1000 [Install] WantedBy=default.target |