Exit session on SIGTERM

If we start an executable we pass on SIGTERM to it. This allows given children to clean up properly. If we get a 2nd signal we exit gracefully.

This revealed a problem on cleanup ordering which we fix in the other commit.

Merge request reports

Loading