V
Viacheslav Chumushuk
Hello.
I have little program (daemon), most of time it waiting with sleep
method.
I need to catch system's signal SIGTERM, to terminate my program
correctly.
How can I do this?
Thanks.
I have little program (daemon), most of time it waiting with sleep
method.
I need to catch system's signal SIGTERM, to terminate my program
correctly.
How can I do this?
Thanks.