Re: [systemd-devel] How to specify dynamic services/requirements

2017-09-14 Thread Luiz Angelo Daros de Luca
Thanks Jérémy, That was what I needed. I was afraid to be headed to the wrong way. Now that I know what to do, I need to know where and when. > you could create a template (xendomains@.service) and use drop-ins to do > per-instance overrides >

Re: [systemd-devel] Why does nspawn check if in a user session?

2017-09-14 Thread Lennart Poettering
On Do, 14.09.17 00:55, Luke Shumaker (luke...@lukeshu.com) wrote: > Hi all, > > I have another question about `systemd-nspawn` internals. > > When sanity-checking argv, it does: > > if (arg_keep_unit && arg_register && cg_pid_get_owner_uid(0, NULL) >= > 0) { >