commit | 694e038aa92a407e7b4ade542fce8ac481cd5a8b | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Mar 06 17:00:46 2013 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Mar 06 17:00:46 2013 -0800 |
tree | b5ec065a195876120b51cc32d4e2086c13274991 | |
parent | e1ba220e323900374a218fafb05fe4767c4ecf74 [diff] |
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>