summaryrefslogtreecommitdiffstats
path: root/units/systemd-nspawn@.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-04-24 10:19:28 +0200
committerLennart Poettering <lennart@poettering.net>2023-04-27 12:18:32 +0200
commit1a3704dcc3960b4ba29045f20017e4211229db70 (patch)
treee18a5ca679f724de1fa12df6b3cac626d1bec64e /units/systemd-nspawn@.service.in
parentudev: port to DelegateSubgroup= (diff)
downloadsystemd-1a3704dcc3960b4ba29045f20017e4211229db70.tar.xz
systemd-1a3704dcc3960b4ba29045f20017e4211229db70.zip
nspawn: port over to /supervisor/ subcgroup being delegated to nspawn
Let's make use of the new DelegateSubgroup= feature and delegate the /supervisor/ subcgroup already to nspawn, so that moving the supervisor process there is unnecessary.
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r--units/systemd-nspawn@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
index e1626b9c87..079d6064f6 100644
--- a/units/systemd-nspawn@.service.in
+++ b/units/systemd-nspawn@.service.in
@@ -25,6 +25,7 @@ RestartForceExitStatus=133
SuccessExitStatus=133
Slice=machine.slice
Delegate=yes
+DelegateSubgroup=supervisor
TasksMax=16384
{{SERVICE_WATCHDOG}}