Introduction - If you have any usage issues, please Google them yourself
Process monitoring daemon process to restart the process linux C language process management using linux C language, which reads the configuration file required to start the program, and conduct real-time monitoring, if the process quit unexpectedly, on the re-start the main functions: 1. Read configuration file program 2 Start the process 3 monitoring process to see whether the process to exit or crash (4) If the process exits or crashes, restart the program. 5 supports the sleep function 6, if the process crashes NUM_MAX consecutive times on the sleep cycle accordingly