earlyoom: Stop using unsupported -k option

This commit is contained in:
Michael Vines
2019-05-01 10:52:02 -07:00
parent 5e9638aae0
commit 7fec1f38be
2 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ else
apt install --quiet --yes ./earlyoom_1.2-*_amd64.deb
cat > earlyoom <<OOM
# use the kernel OOM killer, trigger at 20% available RAM,
EARLYOOM_ARGS="-k -m 20"
# trigger at 20% available RAM,
EARLYOOM_ARGS="-m 20"
OOM
cp earlyoom /etc/default/
rm earlyoom