From: Lennart Poettering Date: Thu, 7 Dec 2017 07:48:08 +0000 (+0100) Subject: units: delegate only "cpu" and "pids" controllers by default (#7564) X-Git-Tag: v236~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5dfcaaaf11b9fe8551d3a8734c9853dba6b229ac;p=thirdparty%2Fsystemd.git 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 --- diff --git a/units/user@.service.in b/units/user@.service.in index 1cf619a1aef..e8195acbb6e 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