diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-04-24 10:11:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-04-27 12:18:32 +0200 |
commit | 3975e3f8ae630586eee816b88e3adde89686d2b1 (patch) | |
tree | aec6c100ab2fa1718a2132a5f5e058ae62254b5b /units | |
parent | core: change ownership of subcgroup we create recursively, it shall be owned ... (diff) | |
download | systemd-3975e3f8ae630586eee816b88e3adde89686d2b1.tar.xz systemd-3975e3f8ae630586eee816b88e3adde89686d2b1.zip |
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.
Diffstat (limited to 'units')
-rw-r--r-- | units/user@.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/user@.service.in b/units/user@.service.in index 41ed55cb1a..86ab4ffcc6 100644 --- a/units/user@.service.in +++ b/units/user@.service.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 |