Re: [systemd-devel] Getting the exit code of a process under a scope

2016-08-02 Thread Lennart Poettering
On Tue, 02.08.16 10:36, Mrunal Patel (mpa...@redhat.com) wrote:

> Is there a way to get the exit code of a process run under a systemd scope
> using systemd dbus API?

This is not supported. systemd only knows the exit codes of processes
it gets SIGCHLD for (as that's where that info is passed). But scopes
are for processes managed and forked off by *other* subsystems, hence
systemd generally does not get SIGCHLD for the processes and cannot
report them.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Getting the exit code of a process under a scope

2016-08-02 Thread Mrunal Patel
Is there a way to get the exit code of a process run under a systemd scope
using systemd dbus API?

Thanks,
Mrunal
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel