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??? THANKS SO MUCH!! I got it!
*Patrik* *GTalk: *alab...@gmail.com *Web:* http://www.patrikx3.tk *Mobile:* +36 20 342 8046 <+36+20+342+8046> On Wed, Mar 1, 2017 at 12:34 PM, Lennart Poettering <lenn...@poettering.net> wrote: > 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