]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/scope.c
core: Handle cgroup pruning in on_cgroup_empty_event
authorRichard Phibel <rphibel@googlemail.com>
Thu, 25 May 2023 17:49:11 +0000 (19:49 +0200)
committerRichard Phibel <rphibel@googlemail.com>
Mon, 29 May 2023 11:26:16 +0000 (13:26 +0200)
commit380dd177798507ced9cde580c04539f54bb980c8
tree646f8cf620bf02987de5309762321f86c0dfd232
parent8db998981a4fefd0122bcf5f965726b63c9045c2
core: Handle cgroup pruning in on_cgroup_empty_event

This change removes the pruning of cgroups for FAILED/INACTIVE units
from per-unit-type handlers and moves it in on_cgroup_empty_event.
src/core/cgroup.c
src/core/scope.c
src/core/service.c