From 01f3dc8b50cf9728c8a70ff9d19143f90c49b786 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 30 Apr 2019 21:49:26 +0200 Subject: [PATCH] instance: dump user and group as well Signed-off-by: Hans Dedecker --- service/instance.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/service/instance.c b/service/instance.c index d15acd4..b4284e7 100644 --- a/service/instance.c +++ b/service/instance.c @@ -1157,6 +1157,12 @@ void instance_dump(struct blob_buf *b, struct service_instance *in, int verbose) if (in->pidfile) blobmsg_add_string(b, "pidfile", in->pidfile); + if (in->user) + blobmsg_add_string(b, "user", in->user); + + if (in->group) + blobmsg_add_string(b, "group", in->group); + if (in->has_jail) { void *r = blobmsg_open_table(b, "jail"); if (in->jail.name) -- 2.25.1