1 #include "fru-fault-monitor.hpp"
2 
3 int main(void)
4 {
5     /** @brief Dbus constructs used by Fault Monitor */
6     sdbusplus::bus::bus bus = sdbusplus::bus::new_default();
7 
8     phosphor::led::fru::fault::monitor::Add monitor(bus);
9     /** @brief Wait for client requests */
10     while (true)
11     {
12         /** @brief process dbus calls / signals discarding unhandled */
13         bus.process_discard();
14         bus.wait();
15     }
16     return 0;
17 }
18