mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user