[systemd-devel] Get exit status inside ExecStopPost ?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Apr 12 14:45:20 PDT 2014


On Fri, Apr 11, 2014 at 12:19:52PM -0700, Anand Patil wrote:
> Hi everyone,
> 
> In a service's ExecStopPost, is there an easy way to access the exit status
> of the service's ExecStart process?
No.

You might be able to get something useful over dbus, although I don't know if
the exit value is already available at this point.

Zbyszek



More information about the systemd-devel mailing list