diff --git a/units/systemd-oomd.service.in b/units/systemd-oomd.service.in index 0d2d409881b..44f71c9e36c 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