// Process events until all services have terminated.
while (service_set->count_active_services() != 0) {
ev_loop(loop, EVLOOP_ONESHOT);
- log(LogLevel::ERROR, std::string("Got event, active service count now = ") + std::to_string(service_set->count_active_services())); // DAV
}
if (am_system_init) {
cout << endl;
}
- log(LogLevel::ERROR, "No more services"); // DAV
-
if (am_system_init) {
if (reboot) {
// TODO log error from fork