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
This commit is contained in:
Lennart Poettering 2017-12-07 08:48:08 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent dd014eebfb
commit 5dfcaaaf11
1 changed files with 1 additions and 1 deletions

View File

@ -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