aboutsummaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2019-03-28 13:44:28 +0100
committerDavid Oberhollenzer <goliath@infraroot.at>2019-03-28 13:45:33 +0100
commitc16735414ba63cb593881cd32e46dc086f003181 (patch)
tree5dc8e79e8d2dd82e91c89ec0c028e11858a71131 /lib/include
parentd16d26018126d381954110e8cdb788650eb41d9e (diff)
initd: Hand out unique IDs to services
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/service.h1
1 files changed, 1 insertions, 0 deletions
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;