On Sun, Sep 25, 2016 at 8:04 AM, Pathangi Janardhanan <[email protected]>
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 <[email protected]>
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel