From: Hans Dedecker Date: Tue, 30 Apr 2019 19:49:26 +0000 (+0200) Subject: instance: dump user and group as well X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01f3dc8b50cf9728c8a70ff9d19143f90c49b786;p=oweals%2Fprocd.git instance: dump user and group as well Signed-off-by: Hans Dedecker --- 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)