chiark / gitweb /
core: emit changes for NFailedUnits property
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 18 Feb 2015 16:22:37 +0000 (14:22 -0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 26 Feb 2015 14:38:50 +0000 (09:38 -0500)
commit03455c2879699852b691903343e378c28992ff6a
treed7e7eaed8fc3ec9528e20d57f54c400b2dbb484a
parente342b74468870f2e4f3e15f7277a0adea42183ca
core: emit changes for NFailedUnits property

By notifying the clients when this property is changed it's possible to
allow "system health monitor" tools to get transitions like
running<->degraded. This is an alternative to send changes on the
SystemState property since the latter is more difficult to derive.
src/core/dbus-manager.c
src/core/dbus-manager.h
src/core/manager.c
src/core/manager.h
src/core/unit.c