|
@@ -540,6 +540,7 @@ int main(int argc, char **argv) {
|
540
|
540
|
ts.notify = notify_alloc(&ts);
|
541
|
541
|
|
542
|
542
|
ts_LOGf("Start %s\n", program_id);
|
|
543
|
+ notify(&ts, "START", "Starting %s", program_id);
|
543
|
544
|
|
544
|
545
|
if (ts.input.type == NET_IO && udp_connect_input(&ts.input) < 1)
|
545
|
546
|
goto EXIT;
|
|
@@ -608,6 +609,7 @@ EXIT:
|
608
|
609
|
pthread_join(ts.write_thread, NULL);
|
609
|
610
|
}
|
610
|
611
|
|
|
612
|
+ notify(&ts, "STOP", "Stopping %s", program_id);
|
611
|
613
|
ts_LOGf("Stop %s\n", program_id);
|
612
|
614
|
|
613
|
615
|
if (ts.syslog_active)
|