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

Reply via email to