mirror of
https://github.com/systemd/systemd.git
synced 2025-03-11 20:58:27 +03:00
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:
parent
dd014eebfb
commit
5dfcaaaf11
@ -18,6 +18,6 @@ Type=notify
|
|||||||
ExecStart=-@rootlibexecdir@/systemd --user
|
ExecStart=-@rootlibexecdir@/systemd --user
|
||||||
Slice=user-%i.slice
|
Slice=user-%i.slice
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
Delegate=yes
|
Delegate=pids cpu
|
||||||
TasksMax=infinity
|
TasksMax=infinity
|
||||||
TimeoutStopSec=120s
|
TimeoutStopSec=120s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user