The example demonstrates using a custom logger with daemonize. * If SIGTERM is received, daemon terminates. If SIGHUP is received, daemon prints "Hello World!" message to logg. * Daemon will auto-terminate after 5 minutes of running. *
See Source File
NCrashed <ncrashed@gmail.com>
Subject to the terms of the MIT license, as written in the included LICENSE file.
© 2014 Anton Gushcha
The example demonstrates using a custom logger with daemonize. * If SIGTERM is received, daemon terminates. If SIGHUP is received, daemon prints "Hello World!" message to logg. * Daemon will auto-terminate after 5 minutes of running. *