On Sun, Sep 25, 2016 at 8:04 AM, Pathangi Janardhanan <path.j...@gmail.com>
wrote:

> Hi,
>
>  I would like to monitor for systemd related service notifications (for
> e.g. service started, service ready, service stopped or service failed etc.)
>
>  I am trying to look through the sd-bus notification, and was looking at
> the org.freedesktop.systemd1.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?
>

Close, but you'll probably want the Job{Added,Removed} and PropertyChanged
signals instead.

-- 
Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to