commit | f67884e44b3b0a9cb9ed109d0bc754df6d00b032 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu May 25 22:19:12 2017 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Jun 19 16:26:48 2017 -0400 |
tree | 38b0f4940024fddff84d5f9e113b1a33809b53d1 | |
parent | 0df00be00999bc3285b8b0a401b48e42fb862250 [diff] |
Start watches at application startup Change-Id: Id4157b9f40c80c5bb7d54d10f74ba7ecdeb199e5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
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 @@ phosphor::dbus::monitoring::Monitor monitor(bus); + for (auto& watch : phosphor::dbus::monitoring::ConfigPropertyWatches::get()) + { + watch->start(); + } + // Keep application running while (true) {