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: *[email protected] *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 <[email protected]> wrote: > On Wed, 01.03.17 08:41, Patrik Laszlo ([email protected]) 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
