Use cleanup_handler to kill scripts run on host

Using the new cleanup callbacks, in case vzctl is running any script
on the host system and it (vzctl) is terminated, terminate the script
we run. Examples of such include action scripts, create scripts, vzquota
etc.

Note we only do it with scripts running on host (not inside CT).

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed