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