<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small">So I should just load all units and if reload re-list all units and then instead of systemd manager remove Job events and just always check the properties all units right???</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small">THANKS SO MUCH!!</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small">I got it!</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="2"><font face="trebuchet ms,sans-serif"><div><br></div><div><span style="font-family:arial"><font face="'trebuchet ms', sans-serif"><font size="2"><br clear="all"></font><u><b><font size="4">Patrik</font></b></u><br><br></font></span><b>GTalk: <br></b><a href="mailto:alabard@gmail.com" target="_blank">alabard@gmail.com</a></div><div><br></div><div><b>Web:</b></div><div><a href="http://www.patrikx3.tk" target="_blank">http://www.patrikx3.tk</a><br></div><div><br></div><div><b>Mobile:</b></div><div><a href="tel:+36+20+342+8046" target="_blank">+36 20 342 8046</a></div></font></font></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Mar 1, 2017 at 12:34 PM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 01.03.17 08:41, Patrik Laszlo (<a href="mailto:alabard@gmail.com">alabard@gmail.com</a>) wrote:<br>
<br>
><br>
> *I catch all events:*<br>
><br>
> UnitNew: 'UnitNew',<br>
> UnitRemoved: 'UnitRemoved',<br>
> JobNew: 'JobNew',<br>
> JobRemoved: 'JobRemoved',<br>
> StartupFinished: 'StartupFinished',<br>
> UnitFilesChanged: 'UnitFilesChanged',<br>
> Reloading: 'Reloading'*,*<br>
><br>
> *<br>
> **The question, how can I receive a signal when a service goes into a failed<br>
> state or any other triggered exit code?*<br>
<br>
This is reported via a PropertiesChanged signal, using the normal dbus<br>
property interface.<br>
<span class="HOEnZb"><font color="#888888"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</font></span></blockquote></div><br></div>