From 09175a7e3dc315c74c485d75105c13887065fde9 Mon Sep 17 00:00:00 2001 From: Jonny Ervine Date: Wed, 10 Jun 2015 22:57:45 +0800 Subject: [PATCH] Create th.c-NOTES --- th.c-NOTES | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 th.c-NOTES diff --git a/th.c-NOTES b/th.c-NOTES new file mode 100644 index 0000000..aabf158 --- /dev/null +++ b/th.c-NOTES @@ -0,0 +1,10 @@ +The stucture of th.c is horrible at the moment. Everything is called from main() + +At some point I'd like to break out the reading of the configuration into a separate sub-routine. The printing of the configureation +file details into the log file should also be disabled for a live situation. + +TODO: +1. Stop printing out config to the log file. +2. Add an option to specify the config file on the command line. +3. Add the option to log to the syslog facility. +4. Maybe add code here to only start up when MySQL is available, and to wait/retry until this works.