diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-11 20:56:15 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-12 17:58:07 +0200 |
commit | ff522668784b48e31e55ce7352006ad03b3e0b3a (patch) | |
tree | bc6e2661a88757473dff05f7084337121985a59a | |
parent | f9795ca578a4b3dfc808d62246461d2c5141d3f6 (diff) | |
download | systemd-ff522668784b48e31e55ce7352006ad03b3e0b3a.tar.gz |
unit: systemd-oomd.service requires cgroup memory controller
(cherry picked from commit ca589b1b4139c85e2ae55b62be0a2a6d3eb4db90)
(cherry picked from commit 82ce34f42b4f5648416cc2ef8f78e722e1771114)
-rw-r--r-- | units/systemd-oomd.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-oomd.service.in b/units/systemd-oomd.service.in index f264a1bef0..1951eab577 100644 --- a/units/systemd-oomd.service.in +++ b/units/systemd-oomd.service.in @@ -14,6 +14,7 @@ DefaultDependencies=no Before=multi-user.target shutdown.target Conflicts=shutdown.target ConditionControlGroupController=v2 +ConditionControlGroupController=memory ConditionPathExists=/proc/pressure/cpu ConditionPathExists=/proc/pressure/io ConditionPathExists=/proc/pressure/memory |