]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: let systemd --user manage its own memory pressure handling
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Feb 2023 09:42:10 +0000 (10:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Mar 2023 08:43:24 +0000 (09:43 +0100)
commit9d03637404a7e53dee2d47b3d5d1dc47b59997e9
tree369b3e65fc59d3098935b71d3144b7489bd1c6ae
parent6bb0084204bd93122c9f04391b80aea5a8a0ff08
units: let systemd --user manage its own memory pressure handling

Let's make things systematic: the per-user and the per-system manager
should manage their own memory pressure, as they are, well, managers of
things.

This is particularly relevant and the per-user service manager should
watch its own "init.scope" subcgroup, instead of the main service unit
cgroup, and hence $MEMORY_PRESSURE_WATCH as set by the per-system
service manager would simply be wrong.
units/user@.service.in