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:
Lennart Poettering 2023-04-24 10:11:46 +02:00
parent bcd9b98159
commit 3975e3f8ae

View file

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