mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
units: make system service manager create init.scope subcgroup for user service manager
This one is basically for free, since the service manager is already prepared for being invoked in init.scope. Hence let's start it in the right cgroup right-away.
This commit is contained in:
parent
bcd9b98159
commit
3975e3f8ae
@ -22,6 +22,7 @@ ExecStart={{ROOTLIBEXECDIR}}/systemd --user
|
||||
Slice=user-%i.slice
|
||||
KillMode=mixed
|
||||
Delegate=pids memory cpu
|
||||
DelegateSubgroup=init.scope
|
||||
TasksMax=infinity
|
||||
TimeoutStopSec={{ DEFAULT_USER_TIMEOUT_SEC*4//3 }}s
|
||||
KeyringMode=inherit
|
||||
|
Loading…
Reference in New Issue
Block a user