From 1fa6f95135cfec036d7f3104816ff2c00208f54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Wed, 5 Jul 2017 20:57:56 +0200 Subject: priod: systemd unit, configuration --- priod.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'priod.c') diff --git a/priod.c b/priod.c index 8606593..07d2de0 100644 --- a/priod.c +++ b/priod.c @@ -522,6 +522,8 @@ main (int argc, char *argv[]) ctx.proc_event.user_data = &ctx; poller_fd_set (&ctx.proc_event, POLLIN); + // TODO: iterate through current /proc processes and apply politics + ctx.polling = true; while (ctx.polling) poller_run (&ctx.poller); -- cgit v1.2.3