mirror of
https://github.com/systemd/systemd.git
synced 2025-01-21 22:04:01 +03:00
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.
This commit is contained in:
parent
6bb0084204
commit
9d03637404
@ -26,3 +26,4 @@ TasksMax=infinity
|
||||
TimeoutStopSec={{ DEFAULT_USER_TIMEOUT_SEC*4//3 }}s
|
||||
KeyringMode=inherit
|
||||
OOMScoreAdjust=100
|
||||
MemoryPressureWatch=skip
|
||||
|
Loading…
x
Reference in New Issue
Block a user