File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,8 @@ int main()
379
379
service .daemon_version = NULL ;
380
380
381
381
log_init ();
382
+ INFO ("Starting up..." );
383
+
382
384
log_set_level (Debug );
383
385
LSErrorInit (& lserror );
384
386
@@ -404,10 +406,19 @@ int main()
404
406
405
407
LSGmainAttach (handle , gmainLoop , & lserror );
406
408
409
+ DBG ("Going into main loop.." );
410
+
407
411
// run to check continuously for new events from each of the event sources
408
412
g_main_loop_run (gmainLoop );
413
+
414
+ DBG ("Main loop quit..." );
415
+
416
+ DBG ("Cleaning up service..." );
417
+ daemon_terminate (& service );
418
+
409
419
// Decreases the reference count on a GMainLoop object by one
410
420
g_main_loop_unref (gmainLoop );
411
421
422
+ DBG ("Service main finished" );
412
423
return 0 ;
413
424
}
You can’t perform that action at this time.
0 commit comments