kernel
kernel copied to clipboard
add signal handling for build
Here's a patch which adds signal handing using exec.CommandContext. Graceful shutdown of the container is achieved using the <executable> stop <name> command.
As the implementation relies on defer, log.Fatal{F} must be be used and fatal is used to allow for defer support.