]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: unify call we use to synthesize cgroup empty events when we stopped watching...
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Jan 2018 12:06:48 +0000 (13:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Jan 2018 20:22:50 +0000 (21:22 +0100)
commit11aef522c16d739653228ef3d5925b6fb25b9d8b
tree1ee0315cc6839dd679c372a2459a17cc75b4ea36
parent5cdabc8d7bf9831f4b3815c82f4e5b1ee3f2960b
core: unify call we use to synthesize cgroup empty events when we stopped watching any unit PIDs

This code is very similar in scope and service units, let's unify it in
one function. This changes little for service units, but for scope units
makes sure we go through the cgroup queue, which is something we should
do anyway.
src/core/cgroup.c
src/core/cgroup.h
src/core/scope.c
src/core/service.c