From ca589b1b4139c85e2ae55b62be0a2a6d3eb4db90 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 11 Sep 2021 20:56:15 +0900 Subject: unit: systemd-oomd.service requires cgroup memory controller --- units/systemd-oomd.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/systemd-oomd.service.in') diff --git a/units/systemd-oomd.service.in b/units/systemd-oomd.service.in index 0d2d409881..44f71c9e36 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 -- cgit v1.2.3