From c16735414ba63cb593881cd32e46dc086f003181 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 28 Mar 2019 13:44:28 +0100 Subject: initd: Hand out unique IDs to services Signed-off-by: David Oberhollenzer --- lib/include/service.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/include/service.h') diff --git a/lib/include/service.h b/lib/include/service.h index 85b82c5..1ff5204 100644 --- a/lib/include/service.h +++ b/lib/include/service.h @@ -68,6 +68,7 @@ typedef struct service_t { pid_t pid; int status; /* process exit status */ + int id; /* service ID used by initd */ char name[]; /* canonical service name */ } service_t; -- cgit v1.2.3