mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
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:
1 parent
6a6f3a8291
commit
d9993860cb
3 files changed
+96
-6
No files matched your search
+5
-3
@@ -24,9 +24,11 @@
|
||||
#ifndef FINIT_CGROUP_H_
|
||||
#define FINIT_CGROUP_H_
|
||||
|
||||
void cgroup_init (void);
|
||||
#include <uev/uev.h>
|
||||
|
||||
int cgroup_user (char *name, int pid);
|
||||
int cgroup_service (char *name, int pid);
|
||||
void cgroup_init (uev_ctx_t *ctx);
|
||||
|
||||
int cgroup_user (char *name, int pid);
|
||||
int cgroup_service (char *name, int pid);
|
||||
|
||||
#endif /* FINIT_CGROUP_H_ */
|
||||
Reference in new issue
Block a user