example02

The example shows how to send signals to daemons created by daemonize.

Members

Aliases

client
alias client = DaemonClient!("DaemonizeExample2", Composition!(Signal.Terminate, Signal.Quit, Signal.Shutdown, Signal.Stop), Signal.HangUp, RotateLogSignal, DoSomethingSignal)
Undocumented in source.
daemon
alias daemon = Daemon!("DaemonizeExample2", KeyValueList!(Composition!(Signal.Terminate, Signal.Quit, Signal.Shutdown, Signal.Stop), (logger), Signal.HangUp, (logger), RotateLogSignal, (logger), DoSomethingSignal, (logger)), (logger, shouldExit))
Undocumented in source.

Functions

main
int main()
Undocumented in source. Be warned that the author may not have intended to support it.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

DoSomethingSignal
enum DoSomethingSignal;
Undocumented in source.
RotateLogSignal
enum RotateLogSignal;
Undocumented in source.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

NCrashed <ncrashed@gmail.com>