From 1a3704dcc3960b4ba29045f20017e4211229db70 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 Apr 2023 10:19:28 +0200 Subject: 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. --- units/systemd-nspawn@.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units') 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}} -- cgit v1.2.1