summaryrefslogtreecommitdiff
path: root/units/systemd-oomd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-oomd.service.in')
-rw-r--r--units/systemd-oomd.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-oomd.service.in b/units/systemd-oomd.service.in
index c138f5eefa..f05cab3e0b 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
-Conflicts=shutdown.target
+Before=multi-user.target shutdown.target initrd-switch-root.target
+Conflicts=shutdown.target initrd-switch-root.target
ConditionControlGroupController=v2
ConditionControlGroupController=memory
ConditionPathExists=/proc/pressure/cpu