On Wed, 01.03.17 08:41, Patrik Laszlo (alab...@gmail.com) wrote:

> 
> *I catch all events:*
> 
>   UnitNew: 'UnitNew',
>             UnitRemoved: 'UnitRemoved',
>             JobNew: 'JobNew',
>             JobRemoved: 'JobRemoved',
>             StartupFinished: 'StartupFinished',
>             UnitFilesChanged: 'UnitFilesChanged',
>             Reloading: 'Reloading'*,*
> 
> *
> **The question, how can I receive a signal when a service goes into a failed
> state or any other triggered exit code?*

This is reported via a PropertiesChanged signal, using the normal dbus
property interface.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to