The example demonstrates basic daemonize features. Described daemon responds to SIGTERM and SIGHUP signals.
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
Subject to the terms of the MIT license, as written in the included LICENSE file.
© 2014 Anton Gushcha
NCrashed <ncrashed@gmail.com>
The example demonstrates basic daemonize features. Described daemon responds to SIGTERM and SIGHUP signals.
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.