1 #include "config.h" 2 3 #include "server-conf.hpp" 4 5 #include <sdbusplus/bus.hpp> 6 7 int main(int /*argc*/, char* /*argv*/[]) 8 { 9 auto bus = sdbusplus::bus::new_default(); 10 11 phosphor::rsyslog_config::Server serverConf( 12 bus, BUSPATH_REMOTE_LOGGING_CONFIG, RSYSLOG_SERVER_CONFIG_FILE); 13 14 bus.request_name(BUSNAME_SYSLOG_CONFIG); 15 16 while (true) 17 { 18 bus.process_discard(); 19 bus.wait(); 20 } 21 22 return 0; 23 } 24