Andrew Geissler | 891213b | 2019-07-30 14:08:17 -0500 | [diff] [blame^] | 1 | #include <sdbusplus/bus.hpp> |
| 2 | #include <sdeventplus/event.hpp> |
| 3 | |
| 4 | int main(int argc, char* argv[]) |
| 5 | { |
| 6 | auto bus = sdbusplus::bus::new_default(); |
| 7 | auto event = sdeventplus::Event::get_default(); |
| 8 | bus.attach_event(event.get(), SD_EVENT_PRIORITY_NORMAL); |
| 9 | |
| 10 | // TODO - Process input parameters |
| 11 | |
| 12 | // TODO - Load in json config file(s) |
| 13 | |
| 14 | // TODO - Begin monitoring for systemd unit changes and logging appropriate |
| 15 | // errors |
| 16 | |
| 17 | return event.loop(); |
| 18 | } |