diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-15 13:52:41 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-15 15:42:21 +0200 |
commit | 4340e5b6df241e4883a1e58dc3446ea489a388a9 (patch) | |
tree | 3b2bb5227aa40d42d66552d620044d327e6d8ff7 /units/systemd-oomd.service.in | |
parent | 78c49d012c105370d3f8882c49d5943c042947f6 (diff) | |
download | systemd-4340e5b6df241e4883a1e58dc3446ea489a388a9.tar.gz |
Revert "units: Add missing dependencies on initrd-switch-root.target"
This reverts commit f0ad3e6b9652fe785245934ff8604cc897d3b8f4.
Diffstat (limited to 'units/systemd-oomd.service.in')
-rw-r--r-- | units/systemd-oomd.service.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-oomd.service.in b/units/systemd-oomd.service.in index f05cab3e0b..c138f5eefa 100644 --- a/units/systemd-oomd.service.in +++ b/units/systemd-oomd.service.in @@ -12,8 +12,8 @@ Description=Userspace Out-Of-Memory (OOM) Killer Documentation=man:systemd-oomd.service(8) Documentation=man:org.freedesktop.oom1(5) DefaultDependencies=no -Before=multi-user.target shutdown.target initrd-switch-root.target -Conflicts=shutdown.target initrd-switch-root.target +Before=multi-user.target shutdown.target +Conflicts=shutdown.target ConditionControlGroupController=v2 ConditionControlGroupController=memory ConditionPathExists=/proc/pressure/cpu |