Commit Graph

18 Commits

Author SHA1 Message Date
Laurence Withers 92e8e92c69 Fix corruption when logging to syslog
syslog(3) used instead of vsyslog(3). Caused corruption in resultant
messages (usually in function name).
2008-08-26 22:13:43 +00:00
Laurence Withers d834d82b89 Bump version 2008-07-26 20:56:50 +00:00
Laurence Withers b0c867224f Add sensible SIGTERM handling (propagate it to the child), etc. 2008-07-26 20:54:14 +00:00
Laurence Withers 92ec05ab67 Save and restore errno before using %m specifier 2008-07-26 20:47:49 +00:00
Laurence Withers 38b6caa6f9 Add ability to override environment variables for child process 2008-07-26 18:10:04 +00:00
Laurence Withers 340c72f9e2 Add a nice timestamp to the output of log file messages 2008-07-26 17:45:52 +00:00
Laurence Withers 9c3a85f824 Fix closing all file descriptors and logging errors 2008-07-26 17:38:04 +00:00
Laurence Withers 4f17e0b6d2 Clean up printing to PID file and logging of that 2008-07-26 17:30:35 +00:00
Laurence Withers 67f0ab405a Remember that execve()'s argv[0] is the program name 2008-07-26 17:28:18 +00:00
Laurence Withers 4c1a3943bd Add run_program() implementation 2008-07-26 17:24:19 +00:00
Laurence Withers 0015f9c660 Use more logical file names 2008-07-26 16:58:31 +00:00
Laurence Withers b626776876 Add mechanism to restart programs 2008-07-26 16:58:16 +00:00
Laurence Withers 1ff8b24650 Add/tidy up commandline options 2008-07-26 16:47:03 +00:00
Laurence Withers f2f2baa129 Add daemonising routines 2008-07-26 16:40:24 +00:00
Laurence Withers 529c50212b Add PID file support 2008-07-26 16:11:34 +00:00
Laurence Withers 92606e58e2 Add more logging infrastructure 2008-07-26 15:33:56 +00:00
Laurence Withers ff1f6fb734 Add basic daemonitor build framework and logging infrastructure 2008-07-26 15:19:13 +00:00
Laurence Withers e2fc9d8088 Import skeleton of daemonitor 2008-07-26 14:45:31 +00:00