Hello,
is there any way to catch the signal (SIGTERM, SIGKILL) from inside a control script ?
That would be useful to perform a clean close.
Thanks for any help.
Riccardo
CTRL SCRIPT SIGNAL HANDLER
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: CTRL SCRIPT SIGNAL HANDLER
It is possible to connect to the 'exitRequested' event with 'sysConnect()' to catch the 'SIGTERM' signal. On a 'SIGKILL' it is not possible to perform a clean close.