On Fri, 11.04.14 12:19, Anand Patil (anand.prabhakar.pa...@gmail.com) wrote:

> Hi everyone,
> 
> In a service's ExecStopPost, is there an easy way to access the exit status
> of the service's ExecStart process?

Read the ExecMainCode and ExecMainStatus properties of the Service bus
object. They correspond directly to what .si_code and .si_status retuned
by waitid().

Lennart

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

Reply via email to