mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units: order oomd after swap.target
oomd only works well if we have swap, hence we should not start it before swaps are up, in particular as we will print an annoying message otherwise. Fixes: #36704
This commit is contained in:
committed by
Yu Watanabe
parent
c5a5046792
commit
5dbf476b11
@@ -12,6 +12,7 @@ Description=Userspace Out-Of-Memory (OOM) Killer
|
||||
Documentation=man:systemd-oomd.service(8)
|
||||
Documentation=man:org.freedesktop.oom1(5)
|
||||
DefaultDependencies=no
|
||||
After=swap.target
|
||||
Before=multi-user.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
ConditionControlGroupController=v2
|
||||
|
||||
Reference in New Issue
Block a user