cgroup: add inotify support for cgroup.events

Replaces previous cgreaper.sh functionality for release notification and
cleanup of service groups.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-03-18 18:23:38 +01:00
1 parent 6a6f3a8291
commit d9993860cb
3 files changed
+96 -6

No files matched your search

+1 -1
View File
@@ -516,7 +516,7 @@ int main(int argc, char *argv[])
/*
* Initialize default control groups, if available
*/
cgroup_init();
cgroup_init(&loop);
/* Check and mount filesystems. */
fs_mount();