1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 # This file is part of systemd.
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
11 Description=Userspace Out-Of-Memory (OOM) Killer Socket
12 Documentation=man:systemd-oomd.service(8)
13 DefaultDependencies=no
14 Before=sockets.target shutdown.target
15 Conflicts=shutdown.target
16 ConditionControlGroupController=v2
17 ConditionControlGroupController=memory
18 ConditionPathExists=/proc/pressure/cpu
19 ConditionPathExists=/proc/pressure/io
20 ConditionPathExists=/proc/pressure/memory
23 ListenStream=/run/systemd/oom/io.system.ManagedOOM
27 WantedBy=sockets.target