diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-11 13:56:15 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-12 03:29:29 +0200 |
commit | ca589b1b4139c85e2ae55b62be0a2a6d3eb4db90 (patch) | |
tree | 3f9ce22db4d83b4bbb31da7d06f4b465604677ac /units/systemd-oomd.service.in | |
parent | test-oomd-util: skip tests if cgroup memory controller is not available (diff) | |
download | systemd-ca589b1b4139c85e2ae55b62be0a2a6d3eb4db90.tar.xz systemd-ca589b1b4139c85e2ae55b62be0a2a6d3eb4db90.zip |
unit: systemd-oomd.service requires cgroup memory controller
Diffstat (limited to 'units/systemd-oomd.service.in')
-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 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 |