summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-07 08:48:08 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-12-07 08:48:08 +0100
commit5dfcaaaf11b9fe8551d3a8734c9853dba6b229ac (patch)
treed0e614085c9dd7d8315eda68c35c002e716e83d9 /units
parentNEWS: add missing whitespace (#7561) (diff)
downloadsystemd-5dfcaaaf11b9fe8551d3a8734c9853dba6b229ac.tar.xz
systemd-5dfcaaaf11b9fe8551d3a8734c9853dba6b229ac.zip
units: delegate only "cpu" and "pids" controllers by default (#7564)
Now that we can configure which controllers to delegate precisely, let's limit wht we delegate to the user session: only "cpu" and "pids" as a minimal baseline. Fixes: #1715
Diffstat (limited to 'units')
-rw-r--r--units/user@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/user@.service.in b/units/user@.service.in
index 1cf619a1ae..e8195acbb6 100644
--- a/units/user@.service.in
+++ b/units/user@.service.in
@@ -18,6 +18,6 @@ Type=notify
ExecStart=-@rootlibexecdir@/systemd --user
Slice=user-%i.slice
KillMode=mixed
-Delegate=yes
+Delegate=pids cpu
TasksMax=infinity
TimeoutStopSec=120s