[systemd-devel] systemd dbus signal failure

Patrik alabard at gmail.com
Wed Mar 1 11:46:37 UTC 2017


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:  *alabard at 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 <lennart at poettering.net>
wrote:

> On Wed, 01.03.17 08:41, Patrik Laszlo (alabard at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170301/dd41a2e2/attachment-0001.html>


More information about the systemd-devel mailing list