<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Sep 25, 2016 at 8:04 AM, Pathangi Janardhanan <span dir="ltr"><<a href="mailto:path.jana@gmail.com" target="_blank">path.jana@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div> I would like to monitor for systemd related service notifications (for e.g. service started, service ready, service stopped or service failed etc.)</div><div><br></div><div> I am trying to look through the sd-bus notification, and was looking at the org.freedesktop.systemd1.<wbr>manager and the subscribe method? Is this the method to be used for receiving this type of notifications, and if I use this would that program receive the correspodning notification through the UnitNew() and unitremoved(0 signals?</div></div></blockquote><div><br></div><div>Close, but you'll probably want the Job{Added,Removed} and PropertyChanged signals instead.</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>