From f67884e44b3b0a9cb9ed109d0bc754df6d00b032 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Thu, 25 May 2017 22:19:12 -0400 Subject: Start watches at application startup Change-Id: Id4157b9f40c80c5bb7d54d10f74ba7ecdeb199e5 Signed-off-by: Brad Bishop --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 885d843..00d7200 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,6 +23,11 @@ int main(void) phosphor::dbus::monitoring::Monitor monitor(bus); + for (auto& watch : phosphor::dbus::monitoring::ConfigPropertyWatches::get()) + { + watch->start(); + } + // Keep application running while (true) { -- cgit v1.2.1