1117 syslog(LOG_NOTICE, "Starting unit `%s' in inactive state", unit->alias); |
1119 syslog(LOG_NOTICE, "Starting unit `%s' in inactive state", unit->alias); |
1118 } else { |
1120 } else { |
1119 syslog(LOG_NOTICE, "Starting unit `%s' in off state", unit->alias); |
1121 syslog(LOG_NOTICE, "Starting unit `%s' in off state", unit->alias); |
1120 } |
1122 } |
1121 } |
1123 } |
1122 printf("Units started\n"); |
|
1123 publishDBirthAll(); |
1124 publishDBirthAll(); |
1124 printf("Birth all done\n"); |
|
1125 |
1125 |
1126 for (unit = Config.units; unit; unit = unit->next) { |
1126 for (unit = Config.units; unit; unit = unit->next) { |
1127 if (unit->mode != UNITMODE_OFF) { |
1127 if (unit->mode != UNITMODE_OFF) { |
1128 unit->event_msg = xstrcpy((char *)"Startup"); |
1128 unit->event_msg = xstrcpy((char *)"Startup"); |
1129 publishDLog(unit); |
1129 publishDLog(unit); |