service: allow setting a dedicated group id
authorMichael Heimpold <mhei@heimpold.de>
Thu, 11 Apr 2019 19:01:07 +0000 (21:01 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 28 Apr 2019 20:03:01 +0000 (22:03 +0200)
commit455aca9b9a0c2d603121a7bcae43abd486762bab
tree3dc19d570b952c83c23e0fd8bed7b361a6eacfa9
parent61a8be6cb4423dde9c7e7262456f4a16752b9abc
service: allow setting a dedicated group id

Sometimes is desirable to run a process with a specific group id
instead of the default one which is derived from passwd entry.

However, we still want to initialize supplementary group ids
(including the default one), thus we have to store the specific
one in a dedicated structure element.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
service/instance.c
service/instance.h